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