mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-02 04:37:54 +08:00
10 lines
142 B
GLSL
10 lines
142 B
GLSL
#version 330 core
|
|
in vec3 TexCoords;
|
|
out vec4 color;
|
|
|
|
uniform samplerCube skybox;
|
|
|
|
void main()
|
|
{
|
|
color = texture(skybox, TexCoords);
|
|
} |