axmol/tests/cpp-tests/Resources/Sprite3DTest/cube_map.frag

8 lines
137 B
GLSL
Raw Normal View History

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