julien-c's picture
julien-c HF Staff
do not gitignore the builds
6cd9596
raw
history blame
172 Bytes
export default /* glsl */`
#ifdef USE_MAP
vec4 texelColor = texture2D( map, vUv );
texelColor = mapTexelToLinear( texelColor );
diffuseColor *= texelColor;
#endif
`;