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

6 lines
78 B
GLSL

#ifdef USE_ALPHAMAP
diffuseColor.a *= texture2D( alphaMap, vUv ).g;
#endif