Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make blur fadeable? #2

Open
Haapavuo opened this issue Aug 4, 2020 · 1 comment
Open

Make blur fadeable? #2

Haapavuo opened this issue Aug 4, 2020 · 1 comment

Comments

@Haapavuo
Copy link

Haapavuo commented Aug 4, 2020

The blur is now constant. I would like to fade in & out the blur effect. How could I achieve this? Thanks!

@gandarufu
Copy link

You can edit the shader graph. Add a vector1 for intensity and use that to drive a Lerp node. Plug the output of the texture sample into A and a scene color node into B. The Lerp then goes into the color of the output. For this to work you need to check "Opaque Texture" in your URP settings. It simply lerps between what's on screen and the blurred version.
https://imgur.com/WAJSmSX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants