Hi, I’m trying to place a sprite inside a transparent mesh that has the shape of a ring, but it seems to be behaving weirdly.
Without transparency, the ring seems to fit around the sprite just fine - https://prnt.sc/uh3cdk.
With transparency though, I can’t get it to fit - https://prnt.sc/uh3e7p
I’ve tried playing around with depthTest and depthWrite, also changing around the renderOrders, the model either completely ignores the sprite and places itself on top of it, or places itself around it and it’s transparency ignores the sprite completely and only reads from the background object. Can anyone at least point me in the right direction on how to go about fixing this? From what I’ve researched it’s a quirk of WebGL in general and there’s no one true way of going about it. Thank you!