Make An Object Partially Invisible

Your feedback is very important to us. We are listening.
Post Reply
mirkojpn
Posts: 4
Joined: Sat Mar 02, 2019 5:49 am

Make An Object Partially Invisible

Post by mirkojpn »

Hello!
I'm Trying to make an Object Partially invisible, and chose in runetime by material property witch part to show, but right now i have some transparent stuff but not totally invisible... anyone can help me to do this?

i'm pretty new with shader stuff so i'm getting confused...

https://ibb.co/4pwFKfB
mirkojpn
Posts: 4
Joined: Sat Mar 02, 2019 5:49 am

Re: Make An Object Partially Invisible

Post by mirkojpn »

just did it by setup opacity, now i need to

Find the angle of the fragment based on the vector that goes from center to the fragment


Then check the angle against your criteria

any help?
mirkojpn
Posts: 4
Joined: Sat Mar 02, 2019 5:49 am

Re: Make An Object Partially Invisible

Post by mirkojpn »

Actually this is what i have actually, i want to be able to set the opacity to 1 from a specific point to an other then set to 0 all the other part

https://ibb.co/hZphS69
mirkojpn
Posts: 4
Joined: Sat Mar 02, 2019 5:49 am

Re: Make An Object Partially Invisible

Post by mirkojpn »

i almost there.... just i must to be able to chose from where to mask it....anyone can help me?

https://ibb.co/pfp26wX
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Make An Object Partially Invisible

Post by Amplify_Borba »

Hello, thank you for getting in touch and for your support!

You can either use Opacity or Opacity mask, the difference being that through Opacity you can have different transparency values while when using the Opacity Mask, the object will either be fully visible or fully invisible ( a good example for this is chain fences ).

Can you please elaborate on how you're planning the effect to behave?

Here's a simple example using the Vertex Position node and a slider to produce the opacity mask, that hides the object through the Y axis:

Image
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