changeset 786:956e9c7e36da

fix: make stuff halfway working
author Sam <sam@basx.dev>
date Mon, 21 Aug 2023 00:17:16 +0700
parents 1880ab140165
children 670ca93a358b
files tests/test_vulkan_wrapper.nim
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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: