playMaker

Author Topic: Reveal different textures  (Read 937 times)

zhevas

  • Playmaker Newbie
  • *
  • Posts: 14
Reveal different textures
« on: September 15, 2017, 10:49:09 AM »
Hi Guys!

I got a great question. Let's say we have 4 different textures assigned to a mesh (default/grey,wood,stone and grass).

How can I make to have a spherical trigger that, whenever touches the mess, reveals (not painting) one of the different textures, depending on what key I press. It has to change just the zone its collisioning, not the entire mesh at the same time.

This is the idea:

zhevas

  • Playmaker Newbie
  • *
  • Posts: 14
Re: Reveal different textures
« Reply #1 on: September 15, 2017, 02:58:23 PM »
any ideas?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 6607
    • jinxtergames
Re: Reveal different textures
« Reply #2 on: September 15, 2017, 09:28:38 PM »
Hi,
Maybe mask shader and decals?

I think you should also ask in the unity community.
Ecosystem might not work at the moment
here are direct Github Links to the custom actions :
https://github.com/PlayMakerEcosystem
https://github.com/jeanfabre


Join the PlayMaker Discord Channel!