playMaker

Author Topic: Change the Alpha of an Object with Texture[SOLVED]  (Read 3334 times)

ExprSt

  • Playmaker Newbie
  • *
  • Posts: 20
Change the Alpha of an Object with Texture[SOLVED]
« on: December 05, 2013, 02:16:29 PM »
I'm trying to change de alpha of an object with has an texture attached to it, I want to change it from visible to not visible. I know how to make it with color using the Ease Float and Set Color RGBA/Set Material Color, but I can't find a way to make with an object with has a texture.

May anyone help?
« Last Edit: December 09, 2013, 02:24:07 PM by jeanfabre »

1982

  • Junior Playmaker
  • **
  • Posts: 71
Re: Change the Alpha of an Object with Texture
« Reply #1 on: December 05, 2013, 05:21:24 PM »
What shader are you using? If it has slider for alpha transparency or cutout, can you access that data with "Set Property" action? With that action you can change the transparency value, which I believe is float.

Breadman

  • Full Member
  • ***
  • Posts: 185
  • Derp
Re: Change the Alpha of an Object with Texture
« Reply #2 on: December 05, 2013, 08:01:47 PM »
It sounds like "set visibility" action might work for you.

If not, you can use "set material" to assign a new material to the object. Just duplicate the existing material, make it as transparent as you need, and then assign the new material with the "set material" action.


ExprSt

  • Playmaker Newbie
  • *
  • Posts: 20
Re: Change the Alpha of an Object with Texture
« Reply #3 on: December 05, 2013, 08:24:31 PM »
I forgot to mention that I wish to change for visible to not visible slowly.
Neither of the suggestion work as that, but thank you nonetheless.

May anyone continue helping?

Regards.

ExprSt

  • Playmaker Newbie
  • *
  • Posts: 20
Re: Change the Alpha of an Object with Texture
« Reply #4 on: December 06, 2013, 02:08:25 PM »
I'm feeling stupid now...

Figured it out and it was incredible easy.

Astus

  • Playmaker Newbie
  • *
  • Posts: 1
Re: Change the Alpha of an Object with Texture
« Reply #5 on: January 23, 2014, 03:28:41 PM »
I'm feeling stupid now...

Figured it out and it was incredible easy.
Hi ExprSt!
Can you explain please, how you solve this?:)
Thanks!