I made instances of a cube and I’m trying to use registerInstancedBuffer to allow me to change the color of certain instances of it during gameplay.
It seems to work just fine on primitive objects created with babylon, however when I import my own mesh that I made in blender simply using registerInstancedBuffer on it will turn the mesh completely black.
The mesh I made is exported from blender as .glb and is rather simple.
I also tried it with the default cube that comes when you make a new scene but it still shows the same issue.
When I use some of the meshes provided by babylon in the playground however it works just fine.
They all seem to be .Babylon files though, so that might be related?
Here’s the playground showing the issue: