# Achieving a feathered transparent effect

I am wondering if a feathered transparent sphere is possible to make in the internal Blender Render.

Currently I have this:

Would it be possible to feather off the edges or make the sphere get more transparent as it gets to the edges? Thanks.

## 1 Answer

You can do this with a Fresnel node or a Layer Weight node. Both these nodes give higher values (close to 1.0) at grazing angles and lower values 0.0 straight on, and thus can be used to mix in pure transparency towards the edge of your sphere.

The difference between the two is the interpolation curve. The Fresnel node uses the Fresnel function, which is technically meant for defining amounts of glossy reflection but still often gives pleasing gradients. The Layer Weight's Facing output uses a linear gradient from straight on to grazing angles.

## Cycles

To use this to control the transparency as you want, mix a pure white transparent shader with your colored transparent shader and plug the Fresnel or Layer Weight into the Mix Shader's Fac input. The above result used the layer weight node, like the following nodes.

## Blender Internal

Though Blender Internal has no specific Layer Weight or Fresnel node, you can make one from scratch with a little bit of vector math. Just use it to control the alpha of the output node.

This uses a Converter > Vector Math node to take the dot product of the View vector and the Normal vector. Here I have also added an RGB Curves node to adjust the falloff curve manually.

• Thanks for the answer, but is this possible in Blender internal? Even with material nods in the internal render, I don't think I can use Layer Weights or Fresnels. – Tritofic Feb 16 '16 at 2:46
• @Tritofic I'm not sure, I know nothing about BI. You may be able to do it with volumetrics though. (BTW, you should add the blender-internal tag to your question if you're asking specific about BI.) – PGmath Feb 16 '16 at 2:48
• Oh, I apologize. I just added the tag now. In the internal, I found a Fresnel option in the transparency settings, but the dark is on the outer part and the light on the inner part. – Tritofic Feb 16 '16 at 2:50
• @Tritofic You can use an Invert node to flip the black and the white if needed. Also, see the accepted answer for this question about how to emulate the Layer Weight node in Blender Internal. – Mentalist Feb 16 '16 at 6:17
• @Tritofic OK, I updated my answer with a BI solution. – PGmath Feb 16 '16 at 13:30