Mercurial > games > semicongine
diff tests/test_vulkan_wrapper.nim @ 325:0c3f4f6f1aa2
fix: make stuff halfway working
author | Sam <sam@basx.dev> |
---|---|
date | Mon, 21 Aug 2023 00:17:16 +0700 |
parents | cbfe96272205 |
children | 4ec852355750 |
line wrap: on
line diff
--- a/tests/test_vulkan_wrapper.nim Sat Aug 19 23:30:25 2023 +0700 +++ b/tests/test_vulkan_wrapper.nim Mon Aug 21 00:17:16 2023 +0700 @@ -198,10 +198,12 @@ newScene("flag", scene_multi_material(), transformAttribute=""), ] + scenes[3].addShaderGlobal("color", newVec4f(1, 0, 1)) for scene in scenes.mitems: scene.addShaderGlobal("time", 0.0'f32) engine.addScene(scene) + # MAINLOOP echo "Setup successfull, start rendering" for i in 0 ..< 3: