PavelDoGreat / Super-Blur

Screen and UI gaussian blur for Unity
MIT License
843 stars 107 forks source link

SuperBlurUI material doesn't work with Mask #13

Closed andersemil closed 5 years ago

andersemil commented 5 years ago

The UI blur works great with simple UI, but if I have a ScrollRect with a mask and put an image with the SuperBlurUI material on it inside, the material just renders white. As soon as I drag it outside the mask, it works. Unity 2017.3.1p1

andersemil commented 5 years ago

I managed to find a fix in this thread https://forum.unity.com/threads/masked-ui-elements-shader-not-updating.371542/

I created a pull request:

https://github.com/PavelDoGreat/Super-Blur/pull/14