mirror of
https://github.com/bloeys/nmage.git
synced 2025-12-29 13:28:20 +00:00
15 lines
265 B
GLSL
Executable File
15 lines
265 B
GLSL
Executable File
#version 410
|
|
|
|
in vec3 outColor;
|
|
|
|
out vec4 fragColor;
|
|
|
|
uniform vec3 ambientLightColor = vec3(1, 0, 0);
|
|
uniform float ambientStrength = 1;
|
|
|
|
void main()
|
|
{
|
|
vec3 objColor = vec3(1, 1, 1);
|
|
fragColor = vec4(objColor * ambientLightColor * ambientStrength, 1.0);
|
|
}
|