Files
escape-the-dawn/Escape-the-Dawn/Shaders/Skybox.frag.glsl
T
2014-03-14 01:51:38 +01:00

15 lines
232 B
GLSL

#version 430
uniform samplerCube CubemapTexture;
in VertexData {
vec3 TextureCoord;
} Input;
out vec4 FragColor;
void main()
{
FragColor = texture(CubemapTexture, Input.TextureCoord);
//FragColor = vec4(1.0, 1.0, 1.0, 0.0);
}