Skip to content
Snippets Groups Projects
Commit ae0f362f authored by Graham Madarasz's avatar Graham Madarasz
Browse files

Rollback NORSPEC-156 change which fails to compile due to implicit cast

parent 5aaab576
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,8 @@ void main() ...@@ -42,7 +42,8 @@ void main()
{ {
float shadow = 1.0; float shadow = 1.0;
vec4 color = diffuseLookup(vary_texcoord0.xy) * pow(vertex_color.rgb,vec3(2.2f)); vec4 color = diffuseLookup(vary_texcoord0.xy) * vertex_color;
color.rgb = pow(color.rgb,vec3(2.2f,2.2f,2.2f));
color.rgb = fullbrightAtmosTransport(color.rgb); color.rgb = fullbrightAtmosTransport(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