I have two objects in the scene. One is Sprite
and the other one Mesh
.
The renderer’s sortObject
is set to false.
The problem is that the Sprite object always renders behind the Mesh object and be obscure.
I’ve checked the order of drawing calls using SpectorJS and confirmed that Sprite indeed renders before Mesh.
I’ve tried setting renderOrder but it didn’t work.
How can I change the rendering order?
By the way I can’t
- use multipass rendering
- change the order of adding to the scene
- move in z-axis
- set renderer’s
sortObject
to true