summaryrefslogtreecommitdiff
path: root/honey/asset/shader.lua
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-05-16 22:51:17 -0500
committersanine <sanine.not@pm.me>2023-05-16 22:51:17 -0500
commit4b2507b2f30d50c8673f33179c2b537ac83da3bf (patch)
treef30fef03ada16c56e638f7955b1d01de676fda13 /honey/asset/shader.lua
parentfae263bc315f1c44cbcf399f58c92e23f0968747 (diff)
add basic collision geom visualizations
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