How to work with material overrides

Hi there,

last time I worked with UE4 I found a parameter in my object called “material override”, I found this one under the group texture or rendering … not sure yet.
I know that objects have the parameter “phys. material override” but “material override” was new to me.

i try to find some infos about it in the www but didin´t find any.
So I tried to use it in a blueprint where I tried to switch between materials of the actual object but I can´t find any entries about it in the blueprint section.

So is it possible to get the added material from “material override” in a blueprint and what is the use of this materials ??

Hope someone can give me some informations about it.
Thx a lot

Hi, try check this page Unreal Engine Material Expressions Reference | Unreal Engine 5.1 Documentation

There’s only one sentence about override

“This will be the value of the parameter in the MaterialInstance unless it is overridden and modified there.”

but maybe under “Material Expression Reference” on left you find explanaition in futher topics

Hmm no sry there is nothing that helped me out.
This “material override” is a field at the detail list of the object, you can add meterials in it but there is no way I can get it in a blueprint.

My thoughts are that I try to fade from the original material to the material override and back. This must be handled in a blueprint and there is no chance to use the material override.

If someone knows a better or other way to fade between 2 materials then this would be good too.

you can try hold mouse cursor on field name to show it’s tooltip, also since this is field of object, if you get reference to this object in blueprint, you can access this fiend to read and write it’s value

but for fading try check this How do I make objects fade away? - Blueprint - Epic Developer Community Forums moderator give some screenshot examples and description says exactly what you want

I try to get to this field by target referenz but this didn´t work.
I will try it with the direct object referenz perhaps this will work…I´ll try.

Thy a lot for the answer and the link you posted :slight_smile: