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-02-03 23:21:33 +01:00
|
|
|
out_color = vec4(vec3(textureColor) * lightColor * 0.35f, 1.0f);
|
2024-01-21 13:34:33 +01:00
|
|
|
}
|