projekt_grafika/cw 2/shaders/shader_box.frag

11 lines
151 B
GLSL
Raw Normal View History

2022-01-27 23:56:43 +01:00
#version 330 core
out vec4 FragColor;
in vec3 TexCoords;
uniform samplerCube skybox;
void main()
{
FragColor = texture(skybox, TexCoords);
}