Projekt-Grafika-Komputerowa/cw 6/shaders/skybox.frag

12 lines
152 B
GLSL
Raw Normal View History

2022-02-05 14:09:38 +01:00
#version 330 core
out vec4 FragColor;
2022-02-10 16:21:08 +01:00
2022-02-05 14:09:38 +01:00
in vec3 texCoords;
uniform samplerCube skybox;
void main()
{
FragColor = texture(skybox, texCoords);
}