prosperon/shaders/skyfrag.glsl
2022-06-22 04:16:14 +00:00

11 lines
151 B
GLSL
Executable file

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