Hello,
Is there something mystery with InstancedMesh? It’s working perfect until it went to disappeared when camera position at -100 and 300 neither x, or z. Feel like weird there.
I’m using React Three Fiber (r3f), tried both hooks from drei and r3f but still the same. I was think maybe wrong with camera or gl settings, but when I try with normal, non-instanced mesh and it’s not disappeared no matter how far camera goes.
I wonder there is a bug or because I missing something? Please point me out!
For declare that everything is ok, instanced work but only follow camera until that position.
- Make an instances
- Position equals to camera positions in x, z.
- Everything ok until camera go to -100 and 300 in worldspace and all instanced disappeared
- Mesh will not disappeared if it’s NOT an instanced mesh
- Using MapControls
- Instanced Mesh will appear again at current positions when hook have a hot reload but will disappear again when go over that range again