danini-the-panini/mittsu-opengl

View on GitHub
lib/mittsu/opengl/shader/chunks/envmap_pars_fragment.glsl

Summary

Maintainability
Test Coverage
#ifdef USE_ENVMAP

    uniform float reflectivity;
    #ifdef ENVMAP_TYPE_CUBE
        uniform samplerCube envMap;
    #else
        uniform sampler2D envMap;
    #endif
    uniform float flipEnvMap;

    #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG )

        uniform float refractionRatio;

    #else

        in vec3 vReflect;

    #endif

#endif