LearnOpenGL/Cubemap.fs

11 lines
150 B
Forth
Raw Normal View History

2022-10-16 18:14:06 +00:00
#version 460 core
out vec4 FragColor;
in vec3 TexCoords;
uniform samplerCube cubemap;
void main()
{
FragColor = texture(cubemap, TexCoords);
}