summaryrefslogtreecommitdiff
path: root/assets/shaders/skybox.frag
blob: d2f3844d6df8b5ffc253a1829394c2832f47e588 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#version 410 core

out vec4 FragColor;

in vec3 TexCoords;

uniform samplerCube cubeMap;

void main() {
    FragColor = texture(cubeMap, TexCoords);
    // FragColor = vec4(1.0, 0.0, 0.0, 1.0);
}