12 lines
133 B
GLSL
12 lines
133 B
GLSL
|
#version 330 core
|
||
|
|
||
|
out vec4 FragColor;
|
||
|
|
||
|
in vec3 UV;
|
||
|
|
||
|
uniform samplerCube skybox;
|
||
|
|
||
|
void main() {
|
||
|
FragColor = texture(skybox, UV);
|
||
|
}
|