Inner Mesh transparency Shader

Your feedback is very important to us. We are listening.
Post Reply
rxmarcus
Posts: 13
Joined: Thu Feb 22, 2018 6:22 pm

Inner Mesh transparency Shader

Post by rxmarcus »

I'm looking for some direction on how I could construct an Amplify shader that renders a texture on the outside edges of a flat plane mesh, and fades to transparency towards the middle, regardless of the mesh shape.

I know that the Fresnel effect is often used to create a Rim or Outline effect, but in my case I'm wanting to make the center of my mesh transparent.

Here is a crappy Photoshop image of what I'm wanting to accomplish.
Image
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: Inner Mesh transparency Shader

Post by Amplify_Borba »

Hello, I believe that the simplest way to achieve this would be to use vertex painting for masking, and then use the Vertex Color node to access this data.

It should also be possible to achieve this with math in order to avoid the manual workflow, but unfortunately that's not something I would be able to assist with.
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