fireball/lib/renderers/shaders/ShaderChunk/alphamap_fragment.glsl

6 lines
78 B
Plaintext
Raw Permalink Normal View History

2018-12-25 13:59:22 +00:00
#ifdef USE_ALPHAMAP
diffuseColor.a *= texture2D( alphaMap, vUv ).g;
#endif