Explorar el Código

Merge pull request #5032 from tranek/normal_map_shader_alpha_test

Added Alpha Test to Normal Map Shader
Mr.doob hace 11 años
padre
commit
8de3788aa3
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/renderers/shaders/ShaderLib.js

+ 2 - 0
src/renderers/shaders/ShaderLib.js

@@ -763,6 +763,8 @@ THREE.ShaderLib = {
 			"		#endif",
 
 			"	}",
+			
+			THREE.ShaderChunk[ "alphatest_fragment" ],
 
 			"	if( enableSpecular )",
 			"		specularTex = texture2D( tSpecular, vUv ).xyz;",