Making a decal that adapts to the surface.

Node-based Shader Editor
Post Reply
EndiHaxhi
Posts: 2
Joined: Sat Dec 08, 2018 12:28 pm

Making a decal that adapts to the surface.

Post 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?
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Making a decal that adapts to the surface.

Post 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.
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
EndiHaxhi
Posts: 2
Joined: Sat Dec 08, 2018 12:28 pm

Re: Making a decal that adapts to the surface.

Post 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.
User avatar
Ricardo Teixeira
Posts: 954
Joined: Fri Aug 09, 2013 2:26 pm

Re: Making a decal that adapts to the surface.

Post 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.
Sales & Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Post Reply