couch/shaders/skybox.frag

12 lines
133 B
GLSL
Raw Normal View History

2021-01-23 11:54:34 -06:00
#version 330 core
out vec4 FragColor;
in vec3 UV;
uniform samplerCube skybox;
void main() {
FragColor = texture(skybox, UV);
}