machineuser
version control dist & node_modules...
263e0f2
raw
history blame contribute delete
230 Bytes
export default /* glsl */`
#ifdef USE_EMISSIVEMAP
vec4 emissiveColor = texture2D( emissiveMap, vUv );
emissiveColor.rgb = emissiveMapTexelToLinear( emissiveColor ).rgb;
totalEmissiveRadiance *= emissiveColor.rgb;
#endif
`;