Blur shader

Node-based Shader Editor
Post Reply
Jayme65
Posts: 6
Joined: Wed Apr 19, 2017 6:18 pm

Blur shader

Post by Jayme65 »

Would you please tell me how I could achieve a "gaussian" blur shader to be applied on a panel...like one can see there (https://www.assetstore.unity3d.com/en/#!/content/69525)

Image

Thanks for any kind help!
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Blur shader

Post by Amplify_Borba »

Hallo Jayme, thank you for getting in touch.

In order to produce a blur effect you need to implement your own technique, since there are several ways of achieving the effect. You may refer to our SimpleBlur sample, but you'd have to replace the Texture Sample node by a Grab Screen Color node and set the shader's Blend Mode as Transparent.

I've also attached a small package with that exemplifies how you could possibly achieve an effect similar to Blur through our SimpleRefraction sample, with the aforementioned Grab Screen Color node being used.
PanelDistort.unitypackage
(9.45 KiB) Downloaded 1993 times
You could also consider using our Custom Expression node in case you want to apply any common technique through shader code ( blur example - https://forum.unity.com/threads/simple- ... er.185327/ ), although this method does require some knowledge of shader programming.

Hopefully this will help you decide on how you want to achieve the effect, please don't hesitate to get back in touch if you have any further questions or issues.
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Jayme65
Posts: 6
Joined: Wed Apr 19, 2017 6:18 pm

Re: Blur shader

Post by Jayme65 »

Thanks (once again) for the great support we can get from you!
I test all your suggestions right now!

Thanks!!
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Blur shader

Post by Amplify_Borba »

Glad to help, don't hesitate to get back in touch if you have any further questions, thanks!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Post Reply