Because OIT is more performance consuming, I want to try to achieve correct transparent rendering by splitting plane sort. However, CSG2 does not seem to support Plane.
You can create very thin boxes and subtract them:
Set the height of both to 0.01 to get a “plane” instead of a box.
2 Likes
thank you,bro
.But the result of adding material to Box and Plane is different.
PG:https://playground.babylonjs.com/#PJQHYV#14
It’s all about uvs. This PG could help you:
The left one is a real plane. The right one are the boxes. I suppose you’d like to have the same results, the pagoda (is it a pagoda?
) cuit in half. Is this correct?
1 Like
Yes. Thank you very much. It’s a little different. I’ll figure it out ![]()
2 Likes

