GRK-2023/shaders/skybox.frag

12 lines
152 B
GLSL

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