Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: MattyWS on May 22, 2015, 03:32:43 PM

Title: Blend between material colours
Post by: MattyWS on May 22, 2015, 03:32:43 PM
Hello! I was wondering if it were possible for an action to fade a materials colour to another colour of your choice over a set time of your choice.. Is this easy? I wouldn't know where to start on this one. :(

Also on a similar note is it easily done with light colours too?
Title: Re: Blend between material colours
Post by: escpodgames on May 23, 2015, 06:18:56 AM
You would want to start by looking at the ease color action, it will allow you to blend between 2 colors over time, you then set the material to this color.
Title: Re: Blend between material colours
Post by: dudebxl on May 23, 2015, 09:00:07 AM
or use DoTween actions: http://hutonggames.com/playmakerforum/index.php?topic=10303.0 // http://dotween.demigiant.com/documentation.php

You can fade color from A to B on material / lights / etc..

still in beta and next week, it will have an update including the color action (will add
shader material option) but check it out in between time..
Title: Re: Blend between material colours
Post by: MattyWS on May 25, 2015, 10:45:18 AM
Thanks for the replies! I found changing my lighting was a better solution than material in the end and it makes my game like a chiptune party! :D