Rotating my scene causes some artifacts to disappear and reappear

Hi,

I’m quite new to ThreeJS and I’m using with the ReactJS Three Fibre library.

It’s slowly coming together nicely, but I have this weird problem. When I rotate the camera around, using the mouse controls, some parts of scene seem to disappear.

I have recorded the screen showing the camera panning back and forth.

I have no idea where to even begin understanding this issue, so any pointers would be appreciated!!

Thanks in advance,
Tom

Depending on how objects are sorted in the render list this kind of flicker can appear. You can try to define a manual render order for problematic objects by configure (numeric) values for Object3D.renderOrder.

I tried the renderOrder and it helped massively! Thanks!!