Mercurial > games > semicongine
diff tests/test_materials.nim @ 814:6a09fe5dc99b
add: multi-material for meshes
author | Sam <sam@basx.dev> |
---|---|
date | Wed, 20 Sep 2023 22:35:04 +0700 |
parents | fb22fd8142b9 |
children | f4f1474dc70a |
line wrap: on
line diff
--- a/tests/test_materials.nim Wed Sep 20 22:02:20 2023 +0700 +++ b/tests/test_materials.nim Wed Sep 20 22:35:04 2023 +0700 @@ -21,7 +21,7 @@ proc main() = var flag = rect() - flag.material = material + flag.materials = @[material] var scene = Scene(name: "main", meshes: @[flag]) scene.addShaderGlobalArray("test2", @[0'f32, 0'f32])