Space-Project/shaders/shader_skybox.frag
2021-01-29 02:03:00 +01:00

13 lines
249 B
GLSL

#version 330 core
layout (location = 0) out vec4 FragColor;
layout (location = 1) out vec4 BrightColor;
in vec3 TexCoords;
uniform samplerCube skybox;
void main()
{
FragColor = texture(skybox, TexCoords);
BrightColor = vec4(0,0,0,1.0);
}