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