Sfoglia il codice sorgente

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

Ben Houston 10 anni fa
parent
commit
133e5390dd

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

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