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

out vec4 FragColor;

in vec3 TexCoords;

uniform samplerCube cubemap;

void main() {
    FragColor = texture(cubemap, TexCoords);
}