Fill in Opacity cutoff

Your feedback is very important to us. We are listening.
Post Reply
rcazzy
Posts: 1
Joined: Wed Dec 05, 2018 10:17 am

Fill in Opacity cutoff

Post by rcazzy »

Hello!

I'm attempting to make a simple shader whereby an object has a filling effect using an alpha cutoff. What I'm looking to do is to fill in the "top" of the alpha cutoff within the object as it goes up and down, avoiding the transparent back faces.

I've attached a gif of the shader and a shot of the node setup. I've turned Cull Mode to Off for the moment which works as the object is emissive making the missing faces not noticeable, however, I'm just wondering is there a method to do so as mentioned above?

Thanks for your help.
:)

https://i.imgur.com/CqYuzmZ.gifv
shader_cap.JPG
shader_cap.JPG (119.29 KiB) Viewed 4645 times
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Fill in Opacity cutoff

Post by Amplify_Borba »

Hello, thank you for your support!

I'm afraid I did not fully understand the specific effect you're hoping to create, but would it possibly be something along the lines of our SimplePotionLiquid sample?

If not, could you share a screenshot/gif/movie of anything resembling the intended effect, or further elaborate in the description? 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!
Post Reply