Page 1 of 1

Blur shader

PostPosted: Thu Feb 22, 2018 9:23 pm
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!

Re: Blur shader

PostPosted: Fri Feb 23, 2018 3:38 pm
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.47 KiB) Downloaded 1685 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.

Re: Blur shader

PostPosted: Fri Feb 23, 2018 3:48 pm
by Jayme65
Thanks (once again) for the great support we can get from you!
I test all your suggestions right now!

Thanks!!

Re: Blur shader

PostPosted: Mon Feb 26, 2018 10:40 am
by Amplify_Borba
Glad to help, don't hesitate to get back in touch if you have any further questions, thanks!