Comments

Log in with itch.io to leave a comment.

This will work as Blur during Rain in my Game

(+1)

Well Made, 100% going to use this in my future games. Thank you.

(+1)

That sounds really great! You are always welcome.

I think you would be really good at making shaders, You do really good materials so why not try doing shaders by them self?

(+1)

Yeah, we have started making shaders and we do have a good collection of the shader already uploaded and in the pipeline as well that is to upload ahead of time. 

(+2)

This looks poweful! Thank you for sharing!

(+1)

You are always welcome! Glad you liked it. 

(+1)

Can this work on a single sprite as well?

Yes!

(2 edits)

Original Comment:

Can I just attach this to a gameObject and it will automatically blur?

Edit:

So I tried putting it as a component to the gameObject with SpriteRenderer, it didn't make it blurry, instead it added a Camera Component. I change the z-value of the gameObject for the camera and it made the other sprites blurry, but not itself, as I expected.

Anyway, I'll try to tinker this shader a little bit and learn from it. Thanks for the shader!

(+1)

This would not work directly dropping it into a Sprite Material as it's mainly a Camera Effect. To make your Sprite or UI blurry you need to use the proper camera setup with layers. The secondary Camera would focus on rendering the UI only where the Blur Script goes on but the Primary Camera would be responsible to render everything else. Therefore, as this shader is mostly a Camera Effect it requires a proper Camera setup to work nicely.