fireball/lib/renderers/shaders/ShaderChunk/alphatest_fragment.glsl
2018-12-25 17:29:22 +03:30

6 lines
70 B
GLSL

#ifdef ALPHATEST
if ( diffuseColor.a < ALPHATEST ) discard;
#endif