[SOLVED] Models and batching

Does models support batching? Here 3 cubes in scene, same material and same texture, every new cube (model with same material and texture) will increase +1 to drawcall, which means 50 cubes = 50 drawcalls.

here repr
Basic 3D project.zip (1.9 MB)

There are two options here:

  1. Use material model_instanced, description here Defold materials manual.
  2. Enable vertex space = world in the material, but then all vertices every frame will be pre-calculated on CPU and sent to GPU (i.e. like sprites). This is fast only on a small number of triangles.
3 Likes

thanks, vertex space = world did the trick.