9 lines
142 B
Plaintext
9 lines
142 B
Plaintext
|
#ifdef USE_MAP
|
||
|
|
||
|
vec4 texelColor = texture2D( map, vUv );
|
||
|
|
||
|
texelColor = mapTexelToLinear( texelColor );
|
||
|
diffuseColor *= texelColor;
|
||
|
|
||
|
#endif
|