Przeglądaj źródła

Merge branch 'dev' of https://github.com/mrdoob/three.js into dev

Mr.doob 11 lat temu
rodzic
commit
b6256c577a
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      src/renderers/shaders/ShaderLib.js

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

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