Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: sprayer on 2016-10-20, 08:57:39

Title: Change material for frame during animation
Post by: sprayer on 2016-10-20, 08:57:39
I need to change shader material during animation, blend material will work for it with mix amount but only for two materials, i need more, it there the way to do it?

Thanks
Title: Re: Change material for frame during animation
Post by: romullus on 2016-10-20, 10:13:28
If it's ok that material change will go suddenly without transition, then you may assign multisub material with all needed sub materials and animate material IDs via material modifier. If you need smooth transition between materials, then CoronaLayered material should do trick. Just plug CoronaColor maps as masks and animate colours from black to white or leave colour white and animate output mult from 0 to 1.
Title: Re: Change material for frame during animation
Post by: sprayer on 2016-10-20, 10:38:26
I was try CoronaLayered but it gives strange multiply colors at shadows from base material and second active, is it bug?
Will try multisub.
Thank you.
Title: Re: Change material for frame during animation
Post by: maru on 2016-10-20, 13:32:35
I was try CoronaLayered but it gives strange multiply colors at shadows from base material and second active, is it bug?
Can you post some examples of this?
Title: Re: Change material for frame during animation
Post by: sprayer on 2016-10-20, 14:56:19
Can you post some examples of this?
3 materials and two layered from them
http://imagizer.imageshack.com/img921/5054/Tk0FaA.jpg
http://imagizer.imageshack.com/img923/2517/P4OcQk.jpg
http://imagizer.imageshack.com/img923/3223/EcsStr.jpg
http://imagizer.imageshack.com/img921/1513/FEuFXJ.jpg
http://imagizer.imageshack.com/img923/4160/mqUwmA.jpg