qtk/resources/skybox/skybox.frag

9 lines
131 B
GLSL

#version 330
uniform samplerCube uTexture;
varying vec3 vTexCoord;
void main()
{
gl_FragColor = texture(uTexture, vTexCoord);
}