Browse Source

Update WebGLPrograms.js

Elias Hasle 6 years ago
parent
commit
f26cc97b00
1 changed files with 1 additions and 1 deletions
  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,
 			useFog: material.fog,
-			fogExp: ( fog && fog.isFogExp2 ),
+			fogExp2: ( fog && fog.isFogExp2 ),
 
 			flatShading: material.flatShading,