So, I'm trying to make a stencil mask that would allow fog to be seen only when looking through the mask, however, the stencil buffer in urp 13 seems to be bugged. Either that or I don't know how to write shaders, here is the mask shader: https://paste.myst.rs/fzrh6xs3 and here the fog shader I want to mask out : https://paste.myst.rs/u8bnxei2
a powerful website for storing and sharing text and code snippets. completely free and open source.
a powerful website for storing and sharing text and code snippets. completely free and open source.