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

6 lines
149 B
Plaintext
Raw Normal View History

2018-12-25 13:59:22 +00:00
#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP )
vec4 worldPosition = modelMatrix * vec4( transformed, 1.0 );
#endif