Glass in Eevee (B2.8). NEW IMPROVEMENT

Realistic Glass in Eevee-depth of field
(Blender 2.8)

This morning I posted this tutorial (my first), based on one I posted recently on Twitter. Some interesting changes arose, thanks to the help of the readers. A couple of useless nodes accidentally included, and a failed DOF (depth of field). Well, now it works!

So, here we go… again. Hope you like it.

I would like to share this technique to the Blender community to make (somehow) realistic glass in Eevee (Blender 2.8).

First, I’m using two materials instead of one: one for Thick Glass (spheres, cubes and all kinds of volumetric glass), and Thin Glass (glasses, goblets or any thin glass surface in your scene).

Thus, goblets and glasses have parts of each component: thick glass on the base (of any glass) or stem (goblet), and thin glass on the bowl. Volumetric objects (Suzanne, spheres, etc.) use only Thick Glass material.

This is the node arrangement for Thick Glass (very simple):


Node arrangement for Thin Glass.


Note these two sliders determine the quality of glass (refraction, reflection, transparency, etc.). You can move around their values in order to get the best result for your project.

Even when the result is good, to get a more realistic finish, I highly recommend to apply a Reflection Cubemap in every object and a Reflection Plane on the table (if it is the case). Always remember to apply Bake Indirect Lighting before final render in Eevee.

In Render setup, activate Screen Space Reflections and Refraction (the settings are up two you).

And… that’s all (I guess), amigos. I hope it will help you to make some nice renders or to develop a better technique and share it to all the community. Please, share your renders.

Fernando de Buen


I can’t figure out why you’ve mixed transparent and nothing with fresnel IOR 1.
Doesn’t it return always transparent?

You are right! I’m sorry I picked the wrong image file. Even when doesn’t affect the result, the Fresnel and first Mix nodes are useless and the transparency node connects directly in the upper node of the second Mix Node.
This is the right one.

Thank you for your observation. I’m trying to figure out how to fix the tutorial.

An interesting solution - must try this one. Thanks :grinning:

1 Like