소스 검색

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

Ben Houston 11 년 전
부모
커밋
133e5390dd
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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 );