How to make material translucent at one spot?

Hey guys, I’m trying to create a material that is translucent in the middle and opaque on the edges. I want to use it on a body to show organs in the middle while remaining opaque on the rest of the body. And I want it to have a fade from translucent to opaque so I can’t use 2 separate materials. Is there any way to do this?

You don’t necessarily need two materials. What you need is a masking texture that defines the opacity at each pixel, texture with a channel that essentially is a mask and use that to tell the shader which areas are translucent and by how much.

To do this, you need to set the Blend mode as ‘Translucent’. I also set the Shading model to ‘Unlit’ for more efficiency.
Here is a very simple material that does it:

1 Like

I tried it out and it looks great. Thanks a lot dude