13/shaders/skybox.frag

12 lines
179 B
GLSL
Raw Normal View History

2023-11-03 10:27:45 +00:00
#version 330 core
out vec4 FragColor;
in vec3 TexCoords;
uniform samplerCube skybox;
void main()
{
FragColor = texture(skybox, TexCoords);
gl_FragDepth = 0.9999f;
}