16 lines
183 B
GLSL
16 lines
183 B
GLSL
|
#version 420 core
|
||
|
|
||
|
layout(std140, binding = 1) uniform Material
|
||
|
{
|
||
|
vec3 ka;
|
||
|
vec3 kd;
|
||
|
vec3 ks;
|
||
|
float p;
|
||
|
};
|
||
|
|
||
|
out vec4 color;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
color = vec4(ka, 1);
|
||
|
}
|