Unlit Opacity Mask shader?

Node-based Shader Editor

Unlit Opacity Mask shader?

Postby sethhall » Fri Jul 27, 2018 9:50 pm

Is there an version of the Unlit shader with support for Opacity Masking? How would I go about creating this if it does not exist? ... I'm kind of a noob with Unity and am just scratching the surface. Used to use Frostbite for about 5 years but the framework is totally different and I'm unclear on how to attack this. Thanks

Seth
sethhall
 
Posts: 20
Joined: Mon Jun 25, 2018 11:09 pm

Re: Unlit Opacity Mask shader?

Postby konsfik » Sat Jul 28, 2018 10:11 pm

Hello there, I was recently in the same situation (looking for the correct way to go about what you are asking for).
I found a way to do it, which can be described as follows:

Start a new shader (or edit your existing one) and go to the output node's properties. There, use these settings:

General:
- Shader Type: Surface
- Light Model: Unlit
Blend Mode:
- Render Type: Transparent
- Render Queue: Transparent

The result is an unlit shader that also allows you to use a transparent mask (with grayscale transparency)

Hope this helps!
K
konsfik
 
Posts: 1
Joined: Sat Jul 28, 2018 10:03 pm

Re: Unlit Opacity Mask shader?

Postby Amplify_Borba » Mon Jul 30, 2018 10:22 am

Hello, thank you for getting in touch!

To add to konsfik's reply, you can also set the Blend Mode to Masked in your Unlit Surface Shader, depending on your specific requirements.

Don't hesitate to get back in touch if you come across any further questions, thanks!
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!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am


Return to Amplify Shader Editor

Who is online

Users browsing this forum: Google [Bot] and 91 guests

cron