Make An Object Partially Invisible

Your feedback is very important to us. We are listening.

Make An Object Partially Invisible

Postby mirkojpn » Sat Mar 02, 2019 5:54 am

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

Postby mirkojpn » Sat Mar 02, 2019 9:49 am

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

Postby mirkojpn » Sat Mar 02, 2019 10:28 am

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

Postby mirkojpn » Sat Mar 02, 2019 2:20 pm

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

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

Re: Make An Object Partially Invisible

Postby Amplify_Borba » Thu Mar 07, 2019 12:13 pm

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!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am


Return to General Discussion

Who is online

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