- Home /
Fading Blur
So for my main menu I want the background to be blurry until the play button is pushed. From there the UI will fade out and the background will unblur to reveal game. Now I know unity has a bluring script but I can't get it to be completely clear. Does anyone know how to fix something like this.
Answer by tanoshimi · Jul 10, 2016 at 08:46 AM
Having reduced the blur size down to zero, you'd make it completely unblurred by disabling the component:
GetComponent<BlurOptimized>().enabled = false;
That would work but it's still not a smooth transition. Is there really no way of doing it smoothly.
I'm having the same problem achieving a smooth fade-out transition with BlurOptimized. Setting blurIterations = 1 produces a better fade-out effect when taking the blur size all the way down to zero.