UNPKG

three

Version:

JavaScript 3D library

12 lines (7 loc) 153 B
export default /* glsl */` #if defined( USE_COLOR_ALPHA ) diffuseColor *= vColor; #elif defined( USE_COLOR ) diffuseColor.rgb *= vColor; #endif `;