UNPKG

three

Version:

JavaScript 3D library

10 lines (6 loc) 172 B
export default /* glsl */` #ifdef USE_EMISSIVEMAP vec4 emissiveColor = texture2D( emissiveMap, vEmissiveMapUv ); totalEmissiveRadiance *= emissiveColor.rgb; #endif `;