opengl: More on texturing.

This commit is contained in:
Rod Kay
2025-09-10 06:24:29 +10:00
parent 5f0e2155be
commit f1d9542ef3
2 changed files with 10 additions and 2 deletions

View File

@@ -158,6 +158,9 @@ main()
Surface_to_Camera);
}
// linear_Color.g = 1.0;
linear_Color += surface_Color.rgb;
vec3 Gamma = vec3 (1.0 / 2.2);
final_Color = vec4 (pow (linear_Color, // Final color (after gamma correction).

View File

@@ -81,9 +81,14 @@ is
is
pragma unreferenced (Textures);
text_Scale : constant Vector_3 := [2.0 * 4.0 / 78.0, -- TODO: Fix scaling.
2.0 * 4.0 / 95.0,
-- text_Scale : constant Vector_3 := [2.0 * 4.0 / 78.0, -- TODO: Fix scaling.
-- 2.0 * 4.0 / 95.0,
-- 1.0 / 1.0];
text_Scale : constant Vector_3 := [1.0 * 1.0 / 78.0, -- TODO: Fix scaling.
1.0 * 1.0 / 95.0,
1.0 / 1.0];
begin
if Self.Text.all = ""
then