grk_5sem_labs/cw 7/shaders/shader_skybox.frag

13 lines
176 B
GLSL

#version 430 core
uniform samplerCube skybox;
in vec3 texCoord;
out vec4 out_color;
void main()
{
out_color = texture(skybox, texCoord);
//out_color = vec4(1, 0, 0, 1);
}