- Home /
Blur effect in water
Hi everyone,
I'm pretty new to Unity and I was wondering how hard would it be to do this effect.
I want my water texture to sort of 'filter' everything in it or behind it and make it look like blurred.
I know this can be pretty easily done with the camera effects when for example my character is underwater, but since this a 2D side platformer I would like the effect to be applied ONLY to the water even when the character is out of it.
See the image below if it makes it clearer to you. What I'm looking for is actually an effect similar to the grainy blur in the "Limbo" water, if you've played the game.
Answer by cygnusfear · Nov 07, 2012 at 03:57 PM
Take a look at this:
http://forum.unity3d.com/threads/56180-Strumpy-Shader-Editor-4.0a-Massive-Improvements/page69
I think you'll find a package in the thread with a distortion shader that might do something similar enough to what you want to achieve. You might also be able to hack around in the shader to add some blur.
Thank you for the suggestion. I actually started from the distortion shader which I put on one layer and made a blur vertex shader on a different plane and put it on the back of that one. I couldn't combine them because distortion is a surface shader, but the performance with that is nice anyway. I'm going to put the blur shader on the asset store, up for grabs as soon as I get the time.
Your answer
![](https://koobas.hobune.stream/wayback/20220613083437im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
how to blur an object and then sharpen the edges? 0 Answers
Underwater effect question 2 Answers
Blur 2d Sprite 0 Answers
Creating a moving platform for a Water Maze 0 Answers
Package keeps reimporting itself. 0 Answers