To make glass in Blender, select the object, open its material in the Shader Editor, and set the Principled BSDF's Transmission Weight to 1, Roughness to 0, and Base Color to pure white. Leave IOR at 1.5. That is a clear glass in Cycles. In EEVEE you also need Raytracing on in the render settings and Raytraced Transmission on in the material settings, or the glass will refract only the world and not the objects behind it.
Many glass tutorials that rank today were written for the old EEVEE. They mention a screen space refraction checkbox, a Refraction Depth value, and Blend Mode. Those settings are deprecated in current Blender. We checked every setting below against the Blender 5.3 source, including the tooltips Blender shows in the interface.
How to make a glass material in Blender (step by step)
This works in both Cycles and EEVEE.
- Select the object and open the Shading workspace, or any Shader Editor.
- Click New to add a material. It comes with a Principled BSDF connected to the Material Output.
- Set Transmission Weight to 1. It is in the Principled BSDF's Transmission panel. Blender's tooltip describes it as the "blend between transmission and other base layer components". At 1, the surface lets light through instead of scattering it diffusely.
- Set Roughness to 0. The default is 0.5, which gives frosted glass. Blender says Roughness controls the microfacet roughness "for specular reflection and transmission", so it blurs what you see through the glass as well as reflections.
- Set Base Color to white (1, 1, 1). The default is a light gray (0.8). Base Color is the "color of the material used for diffuse, subsurface, metallic and transmission", so the gray default tints the glass and makes it slightly dark.
- Leave IOR at 1.5. Blender's own tooltip says "the default value of 1.5 is a good approximation for glass".
- Switch the viewport to Rendered, or Material Preview, to see the result.
Glass needs something to refract and reflect. A glass sphere on an empty gray background looks like a gray sphere. Add an HDRI to the World, or put objects behind the glass. Our free HDRI sites guide covers where to get one and how to load it.
Principled BSDF or Glass BSDF?
Blender also has a Glass BSDF node. It has Color, Roughness, Anisotropy, IOR, and Normal inputs, with Roughness at 0 and IOR at 1.5 by default, plus a Thin Film panel. Either works. We use the Principled BSDF because one node also handles coat, normal maps, and the other PBR inputs, and the setup above gives glass. If you only ever want plain glass, the Glass BSDF is simpler.
How to make glass work in EEVEE
If the glass in EEVEE looks gray, milky, or shows the HDRI instead of the objects behind it, the material setup is usually fine. EEVEE needs three more settings.
1. Turn on Raytracing
Go to Render Properties and tick the checkbox in the Raytracing panel header. Blender's tooltip for it is "Enable the ray-tracing module". Leave Method on Screen-Trace unless you have a reason not to. Blender describes the two methods as:
| Method | What Blender says it does |
|---|---|
| Screen-Trace | "Raytrace against the depth buffer. Fallback to light probes for invalid rays." |
| Light Probe | "Use light probes to find scene intersection" |
Screen-Trace can only refract what is on screen. Anything outside the view, or hidden behind other objects, falls back to light probes. That is why refraction near the edges of the frame can look wrong in EEVEE but not in Cycles.
2. Use the Dithered render method with Raytraced Transmission
Open Material Properties > Settings > Surface.
- Set Render Method to Dithered. Blender describes Dithered as "compatible with render passes and raytracing", and Blended as allowing "colored transparency, but incompatible with render passes and raytracing".
- Tick Raytraced Transmission. It only appears when the render method is Dithered. Its tooltip: "Use raytracing to determine transmitted color instead of using only light probes."
Without Raytraced Transmission, EEVEE only refracts what the light probes and world captured, so the glass shows the sky but not the table behind it.
Files from older Blender versions are a common trap. When Blender opens an old file, it converts materials that used the old Alpha Blend mode to Blended and everything else to Dithered (versioning code). A glass material from an old tutorial or asset often comes through as Blended, which cannot use raytracing. Switch it to Dithered.
3. Set the thickness
EEVEE does not trace light through the inside of the object the way Cycles does. It approximates it using a thickness. In the same Surface settings, Thickness has two modes:
- Sphere: "Approximate the object as a sphere whose diameter is equal to the thickness defined by the node tree". Good for solid, rounded objects like a glass ball or a paperweight.
- Slab: "Approximate the object as an infinite slab of thickness defined by the node tree". Good for flat panes, like windows and table tops.
The thickness value comes from the Thickness input on the Material Output node (Blender shows it in the material's Thickness panel too). If nothing is connected, EEVEE uses the smallest dimension of the object's bounding box, scaled to world space. That is right for a solid glass block, but too thick for a hollow object like a bottle or a drinking glass, where the light only passes through thin walls. For those, connect a Value node to the Thickness input and set it to the wall thickness in scene units.
Why does my glass look black in Cycles?
Usually there are not enough light bounces. Each time a ray passes through a glass surface it uses one transmission bounce, and a glass of water or a stack of panes can use many. When the rays run out, Cycles returns black.
Open Render Properties > Light Paths > Max Bounces. In Blender 5.3 the defaults are Total 12 and Transmission 12 (Cycles settings). Transmission is "bounded by total maximum", so raise both if you see black patches inside the glass. If someone lowered them to speed up renders, put them back.
Other causes:
- Base Color is dark. Transmission is tinted by Base Color, so a dark Base Color gives dark glass.
- Metallic is above 0. Metal does not transmit light. Keep Metallic at 0 for glass.
- The mesh is inside out or has overlapping faces. Refraction depends on which way the surface faces. Turn on Face Orientation in the Viewport Overlays menu. Faces that show red point inward; fix them with Mesh > Normals > Recalculate Outside in Edit Mode.
Why is the shadow under my glass solid black?
Light that passes through glass and lands on another surface is a caustic. Cycles has Refractive Caustics on by default, in Light Paths > Caustics, and Blender notes it adds "more noise but added realism". In many scenes, especially with small lights, the caustic is so noisy that the shadow reads as dark.
EEVEE's Transparent Shadows setting does not help here. Its tooltip says it applies "if it contains a Transparent BSDF", which a transmission glass material does not.
A common shortcut for windows and product shots, in both engines: select the glass object, open Object Properties > Visibility > Ray Visibility, and untick Shadow. The glass stops casting a shadow at all. It is not physically correct, but it is often what a clean render needs.
How to make frosted glass in Blender
Raise Roughness. Somewhere around 0.2 to 0.4 looks like frosted or sandblasted glass; tune it by eye. Because Roughness affects transmission too, what you see through the glass blurs along with the reflections.
For patterned frosting, like a frosted logo or fingerprints, drive Roughness with a texture. Connect a grayscale image to the Principled BSDF's Roughness input and set the image's Color Space to Non-Color. Our roughness map guide covers the details, and our color space guide explains why Non-Color matters.
In EEVEE, very rough transmission may not use the full raytracing path. The Threshold under Raytracing > Fast GI Approximation in Render Properties is the "maximum roughness to use the tracing pipeline for". In Blender's words, "higher roughness surfaces will use fast GI approximation".
How to make colored or tinted glass
Set Base Color to the tint you want. Keep it light. Dark, saturated colors make the glass very dark, because the light is tinted every time it passes through a surface.
For glass that needs surface detail, like ribbed glass, hammered glass, or dirt, add a normal map to the Principled BSDF's Normal input through a Normal Map node. Our normal map troubleshooting guide has the setup.
Glass vs a transparent texture in Blender
Glass and transparency are different things. Glass bends light, reflects, and needs Transmission. A cut-out leaf, a decal, or a PNG sticker needs Alpha, which makes parts of the surface disappear without bending anything. The Principled BSDF's Alpha input "controls the transparency of the surface, with 1.0 fully opaque".
If you are trying to make part of an image see-through, use our transparent texture guide instead. Using Alpha to fake glass gives you a see-through surface with no refraction.
Where to get glass textures for Blender
You do not need a texture for plain clear glass. The settings above are enough. Textures help for surface detail: frosting, patterns, dirt, scratches, and normal detail.
twirl's glass materials and crystal materials are free to download, with albedo, normal, roughness, metallic, and height maps. They do not include a transmission map, so you still set Transmission Weight to 1 yourself, then use the roughness and normal maps for the surface. If you add the maps by hand, our guide to adding a texture in Blender walks through it, and Node Wrangler's Principled Texture Setup can wire a full set in one step. twirl Connect for Blender imports a material from the browser. We make twirl, so weigh our opinion of it accordingly.
FAQ
What IOR should I use for glass in Blender?
1.5. It is the default in both the Principled BSDF and the Glass BSDF, and Blender's tooltip calls it "a good approximation for glass". Water is lower and diamond is higher; check a reference table for the exact material.
Why does my glass look opaque or gray in EEVEE?
Check that Raytracing is on in Render Properties, that the material's Render Method is Dithered, and that Raytraced Transmission is ticked. Also check that Base Color is white and Roughness is 0.
Why does glass show the HDRI but not the objects behind it?
In EEVEE, Raytraced Transmission is off, so the glass only refracts light probes and the world. Turn it on in Material Properties > Settings > Surface. It needs the Dithered render method.
Should I use Cycles or EEVEE for glass?
Cycles traces light through the object, so thick, curved, or stacked glass is more accurate. EEVEE approximates with a thickness setting and can only trace what is on screen, but it is much faster. For close-ups where the glass is the subject, Cycles is the safer choice.
Do I need a solid mesh for glass, or is a plane enough?
For a window in EEVEE, a single plane with Slab thickness and a Value node for the pane thickness works. In Cycles, a single plane bends light as it enters but has no back face to let it out again, so give panes and bottle walls real thickness, for example with a Solidify modifier.
