1 2 3 4 5 6 7 8 9
#version 330 core in vec3 TexCoords; uniform samplerCube skybox; out vec4 FragColor; void main() { FragColor = texture(skybox, TexCoords); };