Spaces:
Running
Running
export default /* glsl */` | |
#ifdef USE_MAP | |
vec4 texelColor = texture2D( map, vUv ); | |
texelColor = mapTexelToLinear( texelColor ); | |
diffuseColor *= texelColor; | |
#endif | |
`; | |