FModel/FModel/Resources/skybox.frag
2022-12-20 23:46:39 +01:00

13 lines
144 B
GLSL

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