Spaces:
Running
Running
doggydog-3d
/
node_modules
/three
/src
/renderers
/shaders
/ShaderChunk
/emissivemap_fragment.glsl.js
export default /* glsl */` | |
#ifdef USE_EMISSIVEMAP | |
vec4 emissiveColor = texture2D( emissiveMap, vUv ); | |
emissiveColor.rgb = emissiveMapTexelToLinear( emissiveColor ).rgb; | |
totalEmissiveRadiance *= emissiveColor.rgb; | |
#endif | |
`; | |