Hi , i’m trying to disable the depth write with no luck. What i want is the object is always rendered on the top of everything int the scene… but whenever i try to set depthwrite to false , all i get is a random flickering and the object is just randomly disappears and reappears and it still uses depthwrite.
Tried to disable it in all the passes (in Diff.xml technique) but none of them worked.
Also is it possible to disable the depth write so the object is rendered on top of UI elements too ? i’m tring to rotate and display items in a 2d inventory , i know i can use render targets but this would be the most convenient way (if possible ofcourse…)