10 lines
200 B
Plaintext
10 lines
200 B
Plaintext
|
#ifdef USE_EMISSIVEMAP
|
||
|
|
||
|
vec4 emissiveColor = texture2D( emissiveMap, vUv );
|
||
|
|
||
|
emissiveColor.rgb = emissiveMapTexelToLinear( emissiveColor ).rgb;
|
||
|
|
||
|
totalEmissiveRadiance *= emissiveColor.rgb;
|
||
|
|
||
|
#endif
|