LearnOpenGL/Cubemap.fs

11 lines
150 B
GLSL

#version 460 core
out vec4 FragColor;
in vec3 TexCoords;
uniform samplerCube cubemap;
void main()
{
FragColor = texture(cubemap, TexCoords);
}