How to control two plane's order even they have the same z-index

Hi! I’m making a flip book, and I have a problem. For example, when right page turns to the left side, it will hide below the left page. I tried to set renderorder, but it doesn’t work after the flipping animation

@alice45richards If you’re going to use GPT to answer questions, please mark them as such?

This is a threejs discourse, and you are asking OP what engine they are using…
OP explicitly stated that they had tried renderOrder, and you are asking what they tried?

Sometimes, the way the animation is set up can interfere with the rendering order settings.

This statement is nonsense. Please try to vet the output you get from the LLM before copy/pasting?

@She-yh
To use renderOrder effectively, you may need to set material.depthTest=false

If that doesn’t work, please post some code that we can look at.

1 Like