Projekt_Grafika/shaders/shader_skybox.frag

11 lines
154 B
GLSL
Raw Normal View History

2021-01-29 17:53:52 +01:00
#version 430 core
out vec4 FragColor;
in vec3 TexCoords;
uniform samplerCube skybox;
void main()
{
gl_FragColor = texture(skybox, TexCoords);
}