Browse Source

ShaderChunk: Fixed envMapIntensity typo. See #10298.

Mr.doob 9 years ago
parent
commit
14419dea3b

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

@@ -1,6 +1,6 @@
 #if defined( USE_ENVMAP ) || defined( PHYSICAL )
 	uniform float reflectivity;
-	uniform float envMapIntenstiy;
+	uniform float envMapIntensity;
 #endif
 
 #ifdef USE_ENVMAP

+ 0 - 2
src/renderers/shaders/ShaderLib/meshphysical_frag.glsl

@@ -11,8 +11,6 @@ uniform float opacity;
 	uniform float clearCoatRoughness;
 #endif
 
-uniform float envMapIntensity; // temporary
-
 varying vec3 vViewPosition;
 
 #ifndef FLAT_SHADED