Hi Guys,
I’m currently working on a concept where I want to hide a mesh behind a window. So the idea basically is: the player looks through a window, and sees nothing, and when he looks around the corner, he can see the same object. And yes: the goal is to get this to work partially. I’m trying to use a CustomStencil, and while this works on (regular) opaque materials, it doesn’t work when looking through the window.
Below you’ll find some screenshots, as well as my material for the pillar and window.
01: The situation described
02: The material for the pillar
03: The material for the window
Thanks in advance!