Describe the bug
When a rectangle is placed above a circle, and both are transparent, the circle is sometimes visible, and sometimes invisible behind the rectangle - depending on the angle.
To Reproduce
Steps to reproduce the behavior:
- Create a circle using THREE.CircleGeometry and make it transparent
- Create a rectangle above the circle using THREE.BufferGeometry and make it transparent
- Rotate the camera around both objects
- Sometimes the circle is visible, sometimes its invisible
Expected behavior
The circle is always visible behind the rectangle.
Relevant Code or Code Sandbox
CodeSandbox
Screenshots
Correct

Incorrect

Additional context
Some hints on what i found out:
When giving the circle renderOrder =1 and the rectangle renderOrder=2 everything works fine, which makes me think, that the renderBuffer which is probably the component managing renderOrder on camera position change has a problem.
Is this maybe something that is not entirely handled by threebox? If so i would be very glad if you could hint me at a solution.
Describe the bug
When a rectangle is placed above a circle, and both are transparent, the circle is sometimes visible, and sometimes invisible behind the rectangle - depending on the angle.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The circle is always visible behind the rectangle.
Relevant Code or Code Sandbox
CodeSandbox
Screenshots


Correct
Incorrect
Additional context
Some hints on what i found out:
When giving the circle renderOrder =1 and the rectangle renderOrder=2 everything works fine, which makes me think, that the renderBuffer which is probably the component managing renderOrder on camera position change has a problem.
Is this maybe something that is not entirely handled by threebox? If so i would be very glad if you could hint me at a solution.