danini-the-panini/mittsu-opengl

View on GitHub
lib/mittsu/opengl/shader/chunks/alphamap_fragment.glsl

Summary

Maintainability
Test Coverage
#ifdef USE_ALPHAMAP

    diffuseColor.a *= texture( alphaMap, vUv ).g;

#endif