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).