opengl: More on texturing.
This commit is contained in:
@@ -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).
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user