Sfoglia il codice sorgente

Update WebGLPrograms.js

Elias Hasle 6 anni fa
parent
commit
f26cc97b00
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/renderers/webgl/WebGLPrograms.js

+ 1 - 1
src/renderers/webgl/WebGLPrograms.js

@@ -168,7 +168,7 @@ function WebGLPrograms( renderer, extensions, capabilities ) {
 
 
 			fog: !! fog,
 			fog: !! fog,
 			useFog: material.fog,
 			useFog: material.fog,
-			fogExp: ( fog && fog.isFogExp2 ),
+			fogExp2: ( fog && fog.isFogExp2 ),
 
 
 			flatShading: material.flatShading,
 			flatShading: material.flatShading,
 
 

粤ICP备19079148号