Glass in Blender: Make It Read as Glass in EEVEE and Cycles
Glass in Blender: What the Renderer Does With the Ray
Glass in Blender is a transmission problem long before it is a color problem. The Transmission component of the Principled BSDF does two things at once: it generates a specular reflection on the surface and it bends the ray that passes through. That coupling is why a badly configured window renders as grey plastic. The surface reflects light, so your eye reads a solid object, but almost nothing makes it through to the other side, so the object reads as dull and opaque.
Most "glass looks wrong" reports come from three places, and none of them is the shader itself. Either the material thickness is wrong for the shape, or the EEVEE render method cannot do what the artist expects, or raytracing is simply off. Fix those three and a plain Principled node is enough for convincing glass.
Set the Material First: Principled Inputs That Matter
Five inputs decide whether the shader behaves like glass.
- Transmission Weight: a mix between fully opaque at 0.0 and fully transmissive at 1.0. Clean glass sits at 1.0. Anything below that adds opacity you probably did not intend.
- IOR: the default 1.5 is a good approximation for glass, water is around 1.33, and the useful range in the manual runs from 1.0 for air to about 4.0 for germanium.
- Roughness: the manual describes this as microfacet roughness applied to both reflection and transmission, so it blurs the reflections and the refracted image together. Clean glass is 0.0 to 0.05, frosted glass 0.1 to 0.3.
- Thin Wall: a boolean that switches the surface to a zero-thickness laminar mode. This is the correct setting for windows, panes and sheets. In EEVEE, when Thin Wall is on, the material Thickness must be 0 and Thickness Mode must be Slab.
- Base Color: on real glass this contributes almost nothing. The tint of thick glass comes from absorption along the path, not from albedo. Push color into Base Color and you get dirty, milky glass instead of tinted glass.
Clear, Frosted and Dirt: One Shader, Three Looks
You do not need three materials. Roughness alone separates clear from frosted. For dirt, drive a small amount of noise into Roughness rather than painting a grime texture into Base Color, and the smudges will catch light the way real fingerprints do. If a pane looks too reflective, the cause is usually Roughness at 0 with a high IOR, not a lack of lights. Lower the IOR toward 1.45 before you start adding area lights.
EEVEE Glass in Blender 5.2 LTS: Raytracing, Thickness and Render Method
EEVEE will not refract anything until you enable Raytracing in Render Properties and set Method to Screen-Trace. With raytracing off, transmission is a screen-space trick and the result is that flat grey look everyone complains about.
Precision is a trade, not a slider to max out. More precision means more accurate ray intersections, but a shorter maximum trace distance and a higher cost per pixel. Middle values are usually the sweet spot for interior shots.
The Thickness value in the raytracing panel is where 5.2 changed things. The release notes confirm the slider now really works in world space, which it previously did not. It is also completely independent from the material Thickness, and the developers themselves have said the naming is bad enough that they want to rename it in 6.0. If your refracted image looks shifted or inverted, this is the value to touch.
Backface is new in 5.2 and controls how intersections with the back face of visible geometry are handled. It is useful for reducing light leaking through thin walls and for tightening up indirect lighting in interiors.
Then there is Render Method under Material Settings. Dithered is the mode that supports Raytraced Transmission, and it is the one that lets you actually look through the glass with raytracing enabled. Blended gives you transparency with color, but it is incompatible with raytracing and with render passes, and its sorting is per object based on object origin, which degrades badly with thousands of objects. Transparency Overlap only exists in Blended: enable it and every transparent fragment renders, disable it and only the frontmost one does. That checkbox is the patch for most sorting problems.
Thickness Mode: Sphere, Slab or From Shadow
Thickness Mode tells EEVEE how to fake the volume it cannot trace.
- Sphere approximates the object as a sphere with a diameter equal to the material thickness. Fine for rounded shapes.
- Slab approximates an infinite slab and is the correct choice for panels, windows and thin sheets.
- From Shadow uses the shadow maps of shadow-casting lights to refine thickness. It helps on complex meshes or displaced geometry, and its cost scales with the number of samples.
Cycles Glass in Blender: Bounces, Caustics and Shadow Caustics
Cycles is physically correct, which means the failures are physical too. Under Light Paths, Max Bounces has a Transmission limit. If your glass comes out black or with opaque patches, that limit is the first suspect, because the ray runs out of allowed events before it exits the object.
Reflective and Refractive caustics can both be disabled to cut noise. Path tracing finds those paths with very low probability, so it mostly produces fireflies. Filter Glossy blurs glossy reflections after a rough bounce and 1.0 is a reasonable starting point for killing fireflies. Clamp Direct and Clamp Indirect trim ultra bright samples at the cost of accuracy.
Shadow Caustics is the cheaper alternative: enable Cast and Receive Shadow Caustics per object and you get caustics from small lights without paying the full sample cost.
Where Glass in Blender Breaks: Four Hard Limits
These come straight from the manual's EEVEE limitations page, and knowing them saves hours of shader tweaking.
- EEVEE models only one refraction event. The second one is approximated by the thickness workflow, which is why two panes in front of each other never look quite right.
- Screen-space effects read the depth buffer, so they only know the nearest pixel and they vanish at the screen border. Overscan mitigates this partially, never fully.
- Blended is incompatible with raytracing, and blended materials or raytraced refraction do not appear in reflections of dithered materials.
- With Dithered plus raytracing, transparent edges come out noisy. The documented fix is to quantize alpha to 0 or 1 using a Math node set to Greater Than, known as the Alpha Clip setup.
There is also a 5.2 specific trap: the energy conservation correction in Fast GI makes some older scenes render darker than they did in 5.1. If an old scene suddenly looks dim, suspect the scene, not the glass.
Glass That Survives Export to a Game Engine
Principled transmission does not travel to glTF or to real-time materials. In the engine, the glass resolves as alpha blend plus opacity, or as a hand-built fake fresnel shader that darkens toward grazing angles.
Keep glass on its own object with its own material slot. Mixing glass into a structure forces a material per polygon and destroys batching. Draw order matters too: transparent geometry renders after opaque, and layered glass needs to be split per object so the sort has something to work with.
If you sell the asset, ship two material variants: a physical one for renders and a real-time one with alpha and fake fresnel. Buyers judge a product by whether it drops into their engine without surprises.
Checklist Before You Call the Glass Done
- Transmission Weight at 1.0 and IOR at 1.5 for standard glass.
- Roughness per finish: 0.0 to 0.05 clear, 0.1 to 0.3 frosted.
- Thin Wall enabled on flat panes, with material Thickness at 0 and Thickness Mode Slab.
- Raytracing on and Method set to Screen-Trace in EEVEE.
- Render Method Dithered when you need to see through the surface.
- Transmission bounces raised in Cycles, caustics off unless you pay for the samples.
- Alpha quantized with the Greater Than setup if transparent edges are noisy.
Get those in order and glass stops being a fight. Every model in the store ships with materials already set up for real-time use, so the shader side is solved before you open the file.