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