Closed pasithea2 closed 5 years ago
But in real life things don't look distorted when you are inside a body of water. That distortion effect happens only when you are looking at things in water from outside (which I really want to do but is impossible in the current rendering engine).
The distortion happens when a ray of light passes from one medium to another with different refractive indices. Suppose you are outside of water and looking at a stone on the bottom. In this case there are two media, air and water, between your eyes and the stone, and their refractive indices are very different so the distortion effect will occur. But when both you and the stone are in water, there is just one medium (which is water) so refraction can't happen.
In short, the effect RSPE does is not based on the real world optics so I'm not going to do it.
Underwater you should distort vision. I have seen this before in RSPE shaders. I really liked it.