c-project/resources/skyBox.frag

13 lines
136 B
GLSL
Raw Normal View History

2024-05-15 11:25:35 +02:00
#version 330 core
out vec4 color;
in vec3 v_pos;
uniform samplerCube u_cubeMap;
void main()
{
color = texture(u_cubeMap, v_pos);
}