From 4b2507b2f30d50c8673f33179c2b537ac83da3bf Mon Sep 17 00:00:00 2001 From: sanine Date: Tue, 16 May 2023 22:51:17 -0500 Subject: add basic collision geom visualizations --- honey/asset/shader.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'honey/asset/shader.lua') 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 -- cgit v1.2.1