Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: zhevas on September 15, 2017, 10:49:09 AM

Title: Reveal different textures
Post by: zhevas 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:
(https://i.imgur.com/xdDyMc7.png)
Title: Re: Reveal different textures
Post by: zhevas on September 15, 2017, 02:58:23 PM
any ideas?
Title: Re: Reveal different textures
Post by: djaydino on September 15, 2017, 09:28:38 PM
Hi,
Maybe mask shader and decals?

I think you should also ask in the unity community.