Since asset store declined to publish this shader, I’d like to share it here.
Shader simulates evironment outside/inside the windows by offsetting uvs on a second texture.
Whader is fasi, based on standard PBR shader. Uses normalmap for distortion, but doesn’t use depth texture to perform such effect, which makes it extremely fast.
Works with any Unity 5.x.x version
well, I can guess, they declined this shader because there’s already similar one
I have been looking for something similar in AS, but haven’t found any, although I was searching for “window” keyword.
Anyway, enjoy!
Thank you for the great contribution, I don’t understand why the shaders have been refused by the Asset Store team. I did some experiments and tried to set it up in my project but adjusting distance and size of the room is hell. Maybe you can introduce some kind of “room size” property in the shader?