06-16-2020 02:22 PM
I'd normally post the link but my account is too new, so you'll need to Google for it. It should be the top result for "down the rabbit hole oculus quest".
How would you go about conditionally rendering fragments with the URP and Shader Graph?
Specifically, the game's design has regions where objects are not rendered.
Imagine you have a plane. That plane can move. All shaders receive that position and only draw whatever is on one of the two sides. This is currently done in an Opaque PBR shader graph with an alpha clip value of 0.5. The shader sets the alpha to 0 or 1 depending on the world position relative to the plane's world position.
Don't worry about the holes that are caused by looking through partially-rendered objects and out the back face. The rendering artifacts actually play into the art style.
03-20-2021 11:20 AM
I know this is pretty old, but did you find out something regarding the "transparency vs. opaque with clip value" matter?