Page 1 of 1

Making a decal that adapts to the surface.

PostPosted: Sat Dec 08, 2018 12:33 pm
by EndiHaxhi
Hi there!
I want to make a shader that can project a decal (without a unity projector component).
What nodes to use to have the decal adapt to the surface, if there is a corner?

Re: Making a decal that adapts to the surface.

PostPosted: Tue Dec 11, 2018 4:56 pm
by Amplify_Borba
Hello, thank you for getting in touch and for your support!

Although we don't currently provide any sample along those lines, please refer to this post as the sample shared there might be a good starting point for the effect you wish to create.

Re: Making a decal that adapts to the surface.

PostPosted: Sat Dec 22, 2018 12:49 am
by EndiHaxhi
I checked the link. Thing is the decal is projected in a circular pattern. Its always a circle, no matter what decal image you put in there.

Re: Making a decal that adapts to the surface.

PostPosted: Thu Dec 27, 2018 3:47 pm
by Ricardo Teixeira
EndiHaxhi wrote:I checked the link. Thing is the decal is projected in a circular pattern. Its always a circle, no matter what decal image you put in there.


Decals can be a bit tricky to implement, and could require additional scripts beyond the scope of our editor, I would recommend using a dedicated solution.

For something simpler, I recommend checking the included Projector sample as you can change the blend mode to create similar effects.