FModel/FModel/Resources/skybox.frag
2022-08-29 19:48:31 +02:00

13 lines
144 B
GLSL

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