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

8 lines
129 B
GLSL
Raw Normal View History

2015-01-29 09:28:14 +08:00
varying vec3 v_reflect;
uniform samplerCube u_Env;
void main(void)
{
gl_FragColor = textureCube(u_Env, v_reflect);
}