Space-Project/shaders/shader_skybox.frag

11 lines
151 B
GLSL
Raw Normal View History

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