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

5 lines
277 B
Plaintext
Raw Normal View History

2018-12-25 13:59:22 +00:00
#if defined( USE_MAP ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( USE_SPECULARMAP ) || defined( USE_ALPHAMAP ) || defined( USE_EMISSIVEMAP ) || defined( USE_ROUGHNESSMAP ) || defined( USE_METALNESSMAP )
vUv = ( uvTransform * vec3( uv, 1 ) ).xy;
#endif