diff options
author | sanine <sanine.not@pm.me> | 2023-05-16 22:51:17 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-05-16 22:51:17 -0500 |
commit | 4b2507b2f30d50c8673f33179c2b537ac83da3bf (patch) | |
tree | f30fef03ada16c56e638f7955b1d01de676fda13 /honey/asset/shader.lua | |
parent | fae263bc315f1c44cbcf399f58c92e23f0968747 (diff) |
add basic collision geom visualizations
Diffstat (limited to 'honey/asset/shader.lua')
-rw-r--r-- | honey/asset/shader.lua | 13 |
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 |