Skip to content
Snippets Groups Projects
Commit f618b7d5 authored by Graham Linden's avatar Graham Linden
Browse files

NORSPEC-293 WIP fix fullbrightF order of ops to match non-deferred with fullbright+glow+texcolor

parent f0f30c97
No related branches found
No related tags found
No related merge requests found
...@@ -69,8 +69,8 @@ void main() ...@@ -69,8 +69,8 @@ void main()
vec4 color = texture2D(diffuseMap, vary_texcoord0.xy); vec4 color = texture2D(diffuseMap, vary_texcoord0.xy);
#endif #endif
color.rgb = srgb_to_linear(color.rgb);
color.rgb *= vertex_color.rgb; color.rgb *= vertex_color.rgb;
color.rgb = srgb_to_linear(color.rgb);
color.rgb = fullbrightAtmosTransport(color.rgb); color.rgb = fullbrightAtmosTransport(color.rgb);
color.rgb = fullbrightScaleSoftClip(color.rgb); color.rgb = fullbrightScaleSoftClip(color.rgb);
......
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