12 lines
155 B
GLSL
12 lines
155 B
GLSL
|
#version 430 core
|
||
|
|
||
|
uniform vec3 color;
|
||
|
|
||
|
in vec3 interpNormal;
|
||
|
|
||
|
out vec4 out_color;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
out_color = vec4(color * vec3(1.0, 1.0, 0.0), 1.0);
|
||
|
}
|