summaryrefslogtreecommitdiff
path: root/source/lessons/cubemaps/shaders/cubemap.fs.glsl
blob: 72dfe4c422f8b63af1c67f9d4a309aaed2074a47 (plain)
1
2
3
4
5
6
7
8
9
#version 330 core

in vec3 TexCoords;
uniform samplerCube skybox;
out vec4 FragColor;

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