2
$\begingroup$

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.

$\endgroup$

2 Answers 2

2
$\begingroup$

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

$\endgroup$
1
  • $\begingroup$ Unfortunately, I use Cycles. Sorry, I forgot to say that. Can you help me with Cycles? $\endgroup$
    – Jo K
    Commented Apr 14, 2020 at 11:30
0
$\begingroup$

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.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .