Hi, I've created a few simple shaders in Amp Shader Editor, but this one has me stumped right from get go.
I would like to use a sprite or plane with a gradient, which reveals otherwise hidden objects behind it.
Could someone please direct me to a post or give an example of how I should approach this?
Thanks!
Direct me to an object masking shader?
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Direct me to an object masking shader?
Hello, thank you for getting in touch!
A simple way to mask a plane through a gradient would require you to set its Blend Mode to transparent, then use the following setup in which we're getting a gradient from the Texture Coordinate's V output, then manipulating it through adding a value from -1 to 1, with the final output connected to the Opacity port:
If this is not the effecy you're looking for, could you please provide additional details?
A video or screenshot would would be great, so that we may best help you figure out the best way to achieve it!
A simple way to mask a plane through a gradient would require you to set its Blend Mode to transparent, then use the following setup in which we're getting a gradient from the Texture Coordinate's V output, then manipulating it through adding a value from -1 to 1, with the final output connected to the Opacity port:
If this is not the effecy you're looking for, could you please provide additional details?
A video or screenshot would would be great, so that we may best help you figure out the best way to achieve it!
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!