asteroidgen/shader/skybox.fragment.glsl

12 lines
161 B
GLSL

#version 330
in vec3 TexCoord0;
out vec4 FragColor;
uniform samplerCube gCubemapTexture;
void main()
{
FragColor = texture(gCubemapTexture, TexCoord0);
}