Translucent Shader?

Hey Unity folks - I have a challenge for the shader-writers among you. How would you make a shader that is translucent and as you look through it it distorts the image behind it as if you are looking though something made of glass? The glass would not be a flat pane, but would fill the shape of the object the shader is attached to. Any ideas?

I guess similar to the way the standard glass shader works - do a GrabPass (this gets the contents of “other objects” into render texture) and then fetch from this texture, offseting the texture coordinates by “something”. This “something” would most likely be somehow dependent on surface normal (in view space) - so when surface is facing you, there is no distortion, and you get more distortion as the angle increases.

This would also require pro. I would try to help you but I dont have pro so I cant do any render to texture type stuff.

Bill

Oh no! Pro only. That’s too bad. I was hoping a man of modest means could make it around here… Ah well - I was mostly wondering anyways. Thanks for the help.