diff options
Diffstat (limited to 'honey/ecs/render.lua')
-rw-r--r-- | honey/ecs/render.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/honey/ecs/render.lua b/honey/ecs/render.lua index abeac04..1e41e7a 100644 --- a/honey/ecs/render.lua +++ b/honey/ecs/render.lua @@ -67,6 +67,15 @@ system = function(params) (node and node._matrix) or Mat4():identity() -- get shader + if not tbl.shader then + print(node) + print(node and node._matrix) + print(node and node.name) + print(node and node.parent) + for k, v in pairs(tbl) do + print(k, v) + end + end local shader = honey.shader.loadShader( tbl.shader.vertex, tbl.shader.fragment ) |