asteroidgen/assets/shader/skybox.fragment.glsl

13 lines
140 B
GLSL

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