Browse Source

Fix note #2 of https://github.com/mrdoob/three.js/pull/5805#issuecomment-75610227

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

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

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