Change between 2 materials

Did you tried using material parameters?

Instead of branch, use a Flip Flop node, it will sequentially flip between the two.

Hi all !

I would like to change the color of a cube between 2 different materials when I’m entering into a volume.
Here’s what I succeeded to do for now :

http://image.noelshack.com/fichiers/2015/17/1429566778-bpmaterialprob.jpg

But as you can see, the material is set randomly.
Here, I would like to be able to set the orange material, then the blue material, then the orange material, etc… In order, not randomly. I don’t really know which node I need to take.

And do you think it would be possible to make a smooth transition between these two materials ?

Thanks for the help !

Nope, I was thinking to it for the transition, but I don’t really see how I can modify instance color values in blueprint, but I will look for it.

Thanks !

Perfect ! Thank you very much ! :wink: