mirror of https://github.com/axmolengine/axmol.git
8 lines
129 B
GLSL
8 lines
129 B
GLSL
|
|
||
|
varying vec3 v_reflect;
|
||
|
uniform samplerCube u_Env;
|
||
|
|
||
|
void main(void)
|
||
|
{
|
||
|
gl_FragColor = textureCube(u_Env, v_reflect);
|
||
|
}
|