fireball/lib/renderers/shaders/ShaderChunk/map_fragment.glsl

9 lines
142 B
Plaintext
Raw Normal View History

2018-12-25 13:59:22 +00:00
#ifdef USE_MAP
vec4 texelColor = texture2D( map, vUv );
texelColor = mapTexelToLinear( texelColor );
diffuseColor *= texelColor;
#endif