Grafika_Komputerowa_Interst.../cw 7/shaders/shader_skybox.frag

12 lines
142 B
GLSL

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