Hi,
I would like to add a toggle to the editor UI that allows me to turn on/off the AlphaToMask property. How would I do this?
I'm using a custom Unlit shader template.
Cheers.
AlphaToMask by toggle
Re: AlphaToMask by toggle
Use a Static Switch node.
Re: AlphaToMask by toggle
Hm, not sure if this works as its not a shader feature / multi compile statement.
I was thinking more of a toggle like in the master node settings of the surface shader. There you can set things like rendering options etc.
Is there a documented API to add custom functionality to the node settings bar or would I have to start from scratch?
Cheers.
I was thinking more of a toggle like in the master node settings of the surface shader. There you can set things like rendering options etc.
Is there a documented API to add custom functionality to the node settings bar or would I have to start from scratch?
Cheers.
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: AlphaToMask by toggle
Hello, thank you for getting in touch!
Although it's not possible to add this to our templates' master node parameters at this time, it is definitely something that we will support soon, so thank you for bringing it up!
In any case, you can read about ASE's API here.
Although it's not possible to add this to our templates' master node parameters at this time, it is definitely something that we will support soon, so thank you for bringing it up!
In any case, you can read about ASE's API here.
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!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!