Is there a way to make a window that when you look through it, things out side of it will be invisible, also, as long as the window is in the game view, whatever through it remains invisible?
As you can see it the picture, the ideal result will be you can only see skybox through the window but there are actual object behind that. And when you move the charactor, the skybox you see from the window will change, not just a static picture.
I have been thinking of the solution for many days. It is pretty much like the opposite of occlusion mask, but I don’t want the whole object not being rendered.
Which you would put on a plane where the window would be. If you want to do a proper object mask, you could use a stencil shader but they are much more advanced.