UNPKG

three

Version:

JavaScript 3D library

16 lines (10 loc) 240 B
export default /* glsl */` #ifdef USE_ENVMAP #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) varying vec3 vWorldPosition; #else varying vec3 vReflect; uniform float refractionRatio; #endif #endif `;