14 lines
248 B
GLSL
14 lines
248 B
GLSL
#version 430 core
|
|
|
|
uniform samplerCube skybox;
|
|
uniform vec3 lightColor;
|
|
|
|
in vec3 texCoord;
|
|
|
|
out vec4 out_color;
|
|
|
|
void main()
|
|
{
|
|
vec4 textureColor = texture(skybox, texCoord);
|
|
out_color = vec4(vec3(textureColor) * lightColor * 0.35f, 1.0f);
|
|
} |