Hello,
I’m creating an application where users can create graphics on a plane, then wrap the plane around the bottle in 3d to appear as if the graphics are on the bottle.
I’m having a weird issue though with alphaBlending. When the bottle is opaque and alphaBlending is false the wrapped plane’s texture looks fine, but if the bottle’s material is transparent and alphaBlending is true then the plane is rendered behind the bottle for some reason, regardless of the z depth of the plane.
I’ve tried changing the plane material’s depthCompareMode to ALWAYS, but it still seems to render behind. Is there a way to force an element to always render on top, or to render with multiple passes?
I’ve attached an image example of the issue.
Thanks!