axmol/tests/cpp-tests/Resources/Shaders3D/Skybox.frag

8 lines
129 B
GLSL

varying vec3 v_reflect;
uniform samplerCube u_Env;
void main(void)
{
gl_FragColor = textureCube(u_Env, v_reflect);
}