Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: mallenroh on March 09, 2014, 12:11:38 PM

Title: set material float 4
Post by: mallenroh on March 09, 2014, 12:11:38 PM
Is it possible to use the set material float action of a shaders float 4 parameter? (x,y,z, w)
Title: Re: set material float 4
Post by: jeanfabre on March 12, 2014, 04:49:44 AM
Hi,

 It's a color right? you should be able to, else can you share the shader in question? I'll give it a go.

bye,

 Jean
Title: Re: set material float 4
Post by: FranciscoToledo on July 26, 2014, 02:52:09 AM
Hi Jean,

I have a shader to set material Vector4.

Could you help animating this Vector "_WaveAndDistance" over time? Values ranging from -1 to +1 should create some nice grass animation effect with ease!

As I'm no programer Playmaker is my last resort!!

Thx,

Francisco
Title: Re: set material float 4
Post by: jeanfabre on July 31, 2014, 07:17:04 AM
Hi,

 can you try this? tell me if it works. I had trouble testing for real as the shader gave me errors.

Bye,

 Jean
Title: Re: set material float 4
Post by: FranciscoToledo on August 07, 2014, 09:37:00 AM
Hey, that works great!

It's moving the parameters as expected, now it's just about getting them with the right visual effect.

Thanks a bunch!

;D
Title: Re: set material float 4
Post by: jeanfabre on August 11, 2014, 10:05:10 AM
Hi,

 ok, it's not on the ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181) and made an rss (http://feeds.feedburner.com/PlaymakerEcosystem) entry for it.

 Bye,

 Jean