- Home /
Underwater Distortion Camera Effect
How can I achieve this kind of effect?
http://static.worldviz.com/_wp/wp-content/uploads/2014/05/underwater.jpg
I'm working on a simple 2d game, and I wanted the underwater level's background to have some kind of distortion, just like in Donkey Kong Country 1..
Also, this other effect: http://www.ransen.com/repligator/Images/davide-ripples.jpg
in Normal levels, I wanted this effect to happen in the water that is below the level, as if it is reflecting the platforms above. (So, the effect would happen only in the bottom part of the level, where water is )
After a quick search, the term is refraction. It seems that this is a pro only feature as it does render calculations in real time. Just some links I found :
http://answers.unity3d.com/questions/358355/glass-refraction-shader.html
http://wiki.unity3d.com/index.php?title=Refraction
http://acegikmo.com/shaderforge/
http://forum.unity3d.com/threads/127348-Unity-3-5-glass-shader
http://forum.unity3d.com/threads/78750-Refraction-example
http://docs.unity3d.com/Documentation/Components/SL-CullAndDepth.html
http://unitycoder.com/blog/2012/02/12/fake-water-shader-refraction/
Answer by Chris333 · Jan 22, 2015 at 01:00 AM
Hi,
i think you need a shader for this. This one is free from the asset store. Maybe it meets your requirements. I didnt tried it.
Your answer
Follow this Question
Related Questions
How to measure fisheye lens distortion? 0 Answers
Camera distortion: show 360º in 120º 0 Answers
Weird sprite distortion during slow movement 0 Answers
Camera FoV and Scene Geometry Distortion 1 Answer
Camera horizontal distortion? 1 Answer