Browse Source

cleanup PR.

Ben Houston 9 years ago
parent
commit
84b70fd4ed

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

@@ -186,7 +186,7 @@
 
 		#endif
 
-		envMapColor.rgb = EncodingToLinear( envMapColor, envMapEncoding ).rgb;
+		envMapColor.rgb = envMapTexelToLinear( envMapColor ).rgb;
 
 		return PI * envMapColor.rgb * envMapIntensity;
 

+ 0 - 1
src/renderers/webgl/WebGLShaderPreProcessor.js

@@ -23,7 +23,6 @@ THREE.WebGLShaderPreProcessor.compile = function() {
         var includeChunk = includeResolver( includeFileName );
         if( ! includeChunk ) throw new Error( "can not find include file for line: " + line );
         var includeLines = includeChunk.split( '\n' ).reverse();
-        console.log( "#including " + includeFileName );
         while( includeLines.length > 0 ) {
           lines.unshift( includeLines.shift() );
         }