Solo Game Developer Alex Blintsov, a.k.a AlFlakky, has recently demonstrated an amazing window shader with a see-through effect made in Unreal Engine for Furnish Master, an upcoming furnishing simulator the developer is currently working on. According to the creator, the effect was achieved without post-processing or separate rendering by only using a background scene under the floor and Custom Depth masking to make the floor transparent only the window is
"Window mesh is a plain, which is hidden from a user (”Render in Main Pass” disabled), but it has Custom Depth enabled," Alex commented on Reddit. "What I do next, is build a background scene under the floor. The floor (the one with room shader and underlight) has a transparent material. In opacity, I pass this custom depth buffer with Screen UV, so it matches with a window shape from a camera perspective. This way floor is transparent only where the window is. It also works with any number of windows."
You can learn more about the effect here and wishlist the developer's upcoming game over here. Also, don't forget to join our Reddit page and our Telegram channel, follow us on Instagram and Twitter, where we share breakdowns, the latest news, awesome artworks, and more.