s473632-grafika/grk2/cw 7/shader_skybox.frag

12 lines
156 B
GLSL
Raw Normal View History

2024-02-08 21:52:41 +01:00
#version 430 core
uniform samplerCube skybox;
in vec3 texCoord;
out vec4 out_color;
void main()
{
out_color = texture(skybox*vec3(1,5f),texCoord);
}