first commit
This commit is contained in:
13
shader/FlatColor.frag
Normal file
13
shader/FlatColor.frag
Normal file
@@ -0,0 +1,13 @@
|
||||
#version 450 core
|
||||
|
||||
layout(location=0) out vec4 FragColor;
|
||||
|
||||
layout(binding=1) uniform ColorMaterial
|
||||
{
|
||||
vec4 color;
|
||||
} color_material;
|
||||
|
||||
void main()
|
||||
{
|
||||
FragColor=color_material.color;
|
||||
}
|
Reference in New Issue
Block a user