Browse Source

fix bug in merge - need to use outgoingColor here.

Ben Houston 10 years ago
parent
commit
8019d61f78
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/renderers/shaders/ShaderChunk/linear_to_gamma_fragment.glsl

+ 1 - 1
src/renderers/shaders/ShaderChunk/linear_to_gamma_fragment.glsl

@@ -1 +1 @@
-	gl_FragColor.xyz = linearToOutput( gl_FragColor.xyz );
+	outgoingLight.xyz = linearToOutput( outgoingLight.xyz );