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

8 lines
137 B
GLSL

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