- Home /
Cutting hole in water plane using stencil buffer.Help making it visible from both sides.
Hey there! I'm currently working on a game concept where I need to cut a hole in my vertex displaced ocean mesh, but I need this visibility(or lack of) to be visible from both inside of the model and outside, I have been able to mask it when viewed from outside, like you would do in the bottom of a boat, and I have been able to make the opposite work, where the camera is inside the mask and can see water outside, but I cant get bot to work seamlessly!! The best comparable effect I can think of is the escape pod from the game Subnautica. Any Ideas or references to post I may have missed? I can post pictures If you need them.
Thanks
Your answer
Follow this Question
Related Questions
Using stencil buffer with OnRenderImage()/Blit 0 Answers
Custom bit size for Stencil buffer 0 Answers
How to use Graphics.DrawProcedural to render a quad over a scene? 0 Answers
Legacy Shaders and URP 1 Answer
Stencil buffer and transparency 0 Answers