Space-Project/shaders/shader_skybox.frag

13 lines
249 B
GLSL
Raw Permalink Normal View History

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