2024-01-21 13:34:33 +01:00
|
|
|
#version 430 core
|
|
|
|
|
|
|
|
uniform samplerCube skybox;
|
|
|
|
uniform vec3 lightColor;
|
|
|
|
|
|
|
|
in vec3 texCoord;
|
|
|
|
|
|
|
|
out vec4 out_color;
|
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
|
|
|
vec4 textureColor = texture(skybox, texCoord);
|
2024-01-26 22:40:06 +01:00
|
|
|
out_color = vec4(vec3(textureColor) * lightColor * 0.3f, 1.0f);
|
2024-01-21 13:34:33 +01:00
|
|
|
}
|