Skip to content
Snippets Groups Projects
Commit 05b25218 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Atleast use the right gamma space for the broken sun..

parent 43eda06e
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ void main() ...@@ -49,7 +49,7 @@ void main()
vec4 sunDiscB = texture2D(altDiffuseMap, vary_texcoord0.xy); vec4 sunDiscB = texture2D(altDiffuseMap, vary_texcoord0.xy);
vec4 c = mix(sunDiscA, sunDiscB, blend_factor); vec4 c = mix(sunDiscA, sunDiscB, blend_factor);
c.rgb = srgb_to_linear(c.rgb); //c.rgb = srgb_to_linear(c.rgb);
c.rgb = clamp(c.rgb, vec3(0), vec3(1)); c.rgb = clamp(c.rgb, vec3(0), vec3(1));
c.rgb = pow(c.rgb, vec3(0.7f)); c.rgb = pow(c.rgb, vec3(0.7f));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment