diff options
Diffstat (limited to 'src/quick/scenegraph/shaders_ng/flatcolor.frag')
-rw-r--r-- | src/quick/scenegraph/shaders_ng/flatcolor.frag | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/quick/scenegraph/shaders_ng/flatcolor.frag b/src/quick/scenegraph/shaders_ng/flatcolor.frag new file mode 100644 index 0000000000..3a677b7c93 --- /dev/null +++ b/src/quick/scenegraph/shaders_ng/flatcolor.frag @@ -0,0 +1,13 @@ +#version 440 + +layout(location = 0) out vec4 fragColor; + +layout(std140, binding = 0) uniform buf { + mat4 matrix; + vec4 color; +} ubuf; + +void main() +{ + fragColor = ubuf.color; +} |