tyFlow Forum
change color? - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html)
+--- Thread: change color? (/thread-657.html)



change color? - ferfelekis - 05-18-2019

Hello.
i wanted to ask how to change the color or a material of particles by changing an event.
for example i want the particles to get a different material when they enter a new event. 
i put the material function with the appropriate material on it, but without effect.
any advice or an example?


RE: change color? - chromodome - 05-18-2019

The way i'd go about this is changing the MatID and not add a Material Instance Op.
Basically you should assign one MultiSub mat to your TyFlow which contains all the sub materials you would need each with an ID. When particles change an event, just change their MatID.


RE: change color? - Borzacch - 05-18-2019

(05-18-2019, 11:46 AM)chromodome Wrote: The way i'd go about this is changing the MatID and not add a Material Instance Op.
Basically you should assign one MultiSub mat to your TyFlow which contains all the sub materials you would need each with an ID. When particles change an event, just change their MatID.

And we can use Material paired with Custom Properties for mapping dissolve transition between two materials for jumping from one event to another.


RE: change color? - ferfelekis - 05-18-2019

ha...thanks both Smile