I am trying to use a boolean to get my object to change from blue to red and when hit again it changes to orange.
Announcement
Collapse
No announcement yet.
how to get a material to change to a specific color using booleans?
Collapse
X
-
If you do not want to create (and maintain) multiple materials, try a Dynamic Material Instance. In your material, Convert the colour (RMB on the node) to Parameter and give it a name. You will be able to change its value during runtime.
This is how you access it in your object:
The bool can be omitted altogether, of course.
Also, more info here:
https://docs.unrealengine.com/latest...rialInstances/
Comment
Comment