Im sure this is really simple but I cant get it to work and its driving me mad.
I have a blur shader that I want to adjust the blur amount through code using a lerp of some description. Either just lerp the float value or do a material lerp. The blur shader does work with unity UI.
Problem is I can’t figure out how to do it on a UI image. I want to adjust blur amount on a UI image over a set amount of time.
Alternatively I would like to be able to adjust the blur amount through unitys animation system but I cant get that to key frame at all.
If yes:
2. if you have the element (UI Image), assign a material (copy for a local blur or use a single material if the blur is shared)
then simply update the float by using the setFloat of the material