playMaker

Author Topic: Understanding Set Material actions  (Read 1766 times)

mweyna

  • Full Member
  • ***
  • Posts: 242
Understanding Set Material actions
« on: July 31, 2013, 03:08:51 AM »
So in my scene I have a block with a basic color. Block (with a mesh renderer and material size set to 1). Element 0 is my basic texture "brick". When you select that object, I want to apply an additive selection color to the base texture. I've tried setting the material size to 2, leaving Element 1 as blank, then assign it via a FSM to be an additive texture. That didn't work.

What is the best way to add a "selection" highlight to an object via an FSM?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Understanding Set Material actions
« Reply #1 on: July 31, 2013, 05:42:44 AM »
Hi,

 for this, you have to use a shader, you can't add effects like that on material. Do you have a working sample not done in playmaker? then I can see and possibly make a playmaker version of it.

bye,

 Jean