소스 검색

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

Ben Houston 11 년 전
부모
커밋
7fe874e4e1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/renderers/shaders/ShaderChunk/lightmap_fragment.glsl

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

@@ -1,5 +1,5 @@
 #ifdef USE_LIGHTMAP
 
-	outgoingLight += diffuseColor.xyz * texture2D( lightMap, vUv2 ).xyz;
+	outgoingLight *= diffuseColor.xyz * texture2D( lightMap, vUv2 ).xyz;
 
 #endif

粤ICP备19079148号