瀏覽代碼

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 );

粤ICP备19079148号