summaryrefslogtreecommitdiff
path: root/honey/asset/shader.lua
diff options
context:
space:
mode:
Diffstat (limited to 'honey/asset/shader.lua')
-rw-r--r--honey/asset/shader.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/honey/asset/shader.lua b/honey/asset/shader.lua
index d1fecc4..8094a0c 100644
--- a/honey/asset/shader.lua
+++ b/honey/asset/shader.lua
@@ -183,4 +183,17 @@ builtin["builtin.flat.frag"] = [[
}
]]
+
+builtin["builtin.color.frag"] = [[
+ #version 410 core
+
+ out vec4 frag_color;
+ uniform vec3 color;
+
+ void main()
+ {
+ frag_color = vec4(color, 1.0);
+ }
+]]
+
return module