Projekt-Grafika-Komputerowa/cw 6/shaders/skybox.frag
2022-02-05 14:09:38 +01:00

11 lines
151 B
GLSL

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