Hello,
can somebody tell me how i can set in widget coloured image black and white. Is it possible in the Design menu on the picture?
Thanks for answer
Hello,
can somebody tell me how i can set in widget coloured image black and white. Is it possible in the Design menu on the picture?
Thanks for answer
Ok. I just dont want for every item icon two version but i do it if necessary.
Thanks for Answer amazing man!
In that case you could get away with an instance dynamic material, as above. The widget can feed its image as a parameter.
That worked!
For others stumbling on this post who are wondering how to do this, I created a material like this:
Then I created an MI from it.
Then, I have a UMG widget for character portraits that has a method called Update Avatar
that I updated to create the dynamic material instance from that material instance, populate the avatar image, and set the saturation:
Then, any time I need to set the saturation of the image I can do so using a new Set Saturation
method on the widget:
This video could also help: