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

14 lines
210 B
Plaintext
Raw Normal View History

2018-12-25 13:59:22 +00:00
#ifdef USE_ENVMAP
#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG )
varying vec3 vWorldPosition;
#else
varying vec3 vReflect;
uniform float refractionRatio;
#endif
#endif