Totally unrelated question, but how did you get your profiler to be transparent? I tried fiddling with the blend modes, but couldn’t get it to change. (Sorry for the derail.)
I used a 3D model kit from Kay Lousberg to test the instancing a little bit for myself.
Here’s the quick test project.
It’s missing some nice-to-haves like camera control and shadows etc.
But perhaps you can get inspired and modify it (or make your own example) and share with the others!
@jhonny.goransson setting custom instance data in runtime is not supported yet, yes? I have dozens of animated characters on scene, with baked animation via VAT, but without setting custom instance data there is no way to use instancing for these models.
Wanted to share a couple observations I noted while testing. When having hundreds of models in a collection the editor performance can start to bog down a bit. I think this is mostly due to the materials / shaders that I had applied. I think it may be important for larger projects to be able to disable full material rendering in the editor and maybe have options like wire or solid type of basic shading that can serve as an alternative to render models & meshes in the editor.
Bounding boxes for models/meshes can also get a bit overly drawn and turning off visibility filters didn’t help so I used the “show/hide objects” option to try and clear up some view and noticed that the models materials/textures/shading are drawn anyway even when hidden. completely hiding objects from the scene view would be nice as well as option to disable bounding boxes themselves.
So far model instancing is looking great and can’t wait to spend some more time trying out other tests with it.
According to the video here world space material is used to support animation ( calculated on CPU), i.e. instancing is not valid for this case now. We need for GPU based skinning.
Thanks for pointing this out, I will switch it over.
*edit I had made a change to worldspace while testing, much to early to make videos anyway of course the performance is very good with gpu based skinning.