Hi!
I'm trying to create various units for different players, each player can have multiple units, all from the same model.
Because materials can't be per instance, only per mesh (WebGL limitation if I know correctly), I create a clone of a model for each player, change the material and afterwards I'm doing instancing from those clones.
My problem is, that when I do this everything disappears (first it flickers and completely blank scene afterwards). Everything is visible again if bounding boxes are turned back on, but instances from clones aren't shown, only bounding boxes are at correct locations (attached first image). What am I doing wrong that this happens or is a bug?
A minimal example on plunkr: http://plnkr.co/edit/yOaBtmu9NaOQpoULo6pv?p=preview
EDIT: Example uses BJS version 2.2, but 2.3 suffers for the same problem.
EDIT2: Added second image that renders exactly the same scene, the only difference is checked option for bounding boxed in debug layer.