I have this strange bug when I have two instanced meshes with the same geometry and material instances. Both instanced meshes become linked and have the same number of instances visually. But if they only share the geometry and not the material, it works like normal. Anyone know if you are not supposed to share the geometry and material across different instanced meshes?
Both instanced meshes become linked and have the same number of instances visually.
Um, the following live example shows that the second instanced mesh is not rendered at all. No matter what count
property you define:
Not necessarily. The following fiddle have different materials: three.js dev template - module - JSFiddle - Code Playground
It only works if the underlying shader programs are different.
I’ve created a PR to fix this issue:
This will be fixed with the next release r116
.