You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's because of frustumCulled (this is set by default, it checks every frame if the object is in the frustum of the camera before rendering the object. If set to false the object gets rendered every frame even if it is not in the frustum of the camera.)
You either need to set boundingBox\Sphere big enough to cover possible translations of instances or set <instancedMesh frustumCulled={false}
when i move around or change the pointer direction, the textures on InstancedRigidBodies vanish. it works fine with instances from drei.
"@react-three/rapier": "^1.3.1",
"three": "^0.165.0",
"next": "14.2.3",
Screen.Recording.2024-06-06.at.1.21.11.AM.mov
any help or suggestions would be appreciated!
The text was updated successfully, but these errors were encountered: