6 lines
195 B
Plaintext
6 lines
195 B
Plaintext
|
#ifdef USE_LIGHTMAP
|
||
|
|
||
|
reflectedLight.indirectDiffuse += PI * texture2D( lightMap, vUv2 ).xyz * lightMapIntensity; // factor of PI should not be present; included here to prevent breakage
|
||
|
|
||
|
#endif
|