#version 330 core // Ouput data layout(location = 0) out vec4 color; uniform samplerCube Texture; in vec3 UV; void main(){ color = texture(Texture, UV); }