2

When I use Fresnel node to mix Transparent node and Glossy node I get a hard edge between these nodes.

Render Nodes

However then I see Fresnel node and see the gradient mask, there is no hard edge.

Render Nodes

Why mix gives me a hard edge? The same problem I have with some other nodes.

I use Blender 2.82 and Blender 2.81. Render - Cycles.

Rich Sedman
  • 44,721
  • 2
  • 105
  • 222
Jo K
  • 195
  • 7

2 Answers2

2

You can change the alpha blend mode, currently you are in Alpha Clip which rounds the alpha value to 0 for values < 0.5 and to 1 for values > 0.5.

Make sure your render engine is set to Eevee first :

enter image description here

Alpha Clip :

enter image description here

Alpha Blend :

enter image description here

If you want to tweak it further, add a Color ramp between the Fresnel and the mix shader, set to B spline interpolation, and move the white cursor way to the left :

enter image description here

Note you can get the same setup with a principled BSDF, which will be more physically correct :

enter image description here

Gorgious
  • 30,723
  • 2
  • 44
  • 101
  • Unfortunately, I use Cycles. Sorry, I forgot to say that. Can you help me with Cycles? – Jo K Apr 14 '20 at 11:30
0

The only work around I've found for this in Cycles is to use a RefractionBSDF instead of the TransparentBSDF. Set the value of the IOR's to be the same. Use a value node to control both and you shouldn't have that annoying hard line.

Justin
  • 1