Make an opaque or transparent glass material in Blender

Create a glass-like material in Blender’s Shader workspace using a color ramp and the Principled BSDF. Adjust roughness, clearcoat, and transmission to control opacity and glossiness.

What the video covers

This guide shows how to build a glass-style material in Blender’s shading workspace using a ColorRamp and the Principled BSDF node. It covers making the material glossy & opaque or transparent; it does not cover lighting, rendering engine setup, or node setups beyond the nodes mentioned.

Watch the video on YouTube

Step-by-step instructions

  1. Open the Shading workspace and select your object.
    With the object selected, open Blender’s Shader/Material editor so you can edit its material nodes.
  2. Add a ColorRamp and set its color.
    Press Shift+A in the node editor to add a ColorRamp (or ColorRamp node). Choose the ramp colors and adjust stops to get the desired tint/saturation.
  3. Connect the ColorRamp to the Principled BSDF base color.
    Plug the ColorRamp output into the Base Color input of the Principled BSDF (the material’s main shader). Increase or decrease saturation on the ramp until the hue looks right.
  4. Adjust glossiness and clearcoat to control highlights.
    Lower the Principled BSDF Roughness to create stronger, sharper reflections. Increase Clearcoat to add an extra glossy layer; adjust Clearcoat Roughness to control that layer’s spread.
  5. Set transmission for transparency or opacity.
    To make glass see-through, raise Transmission toward 1.0. To make a non-transmitting glossy/‘opaque glass’ look, set Transmission to 0.0. Tweak Roughness and Clearcoat to refine the final appearance.
  6. Preview and iterate in a rendered viewport.
    View the object in a render preview and tweak the ColorRamp, Roughness, Clearcoat, and Transmission until satisfied. Check from multiple angles and with scene lighting to confirm the effect.

Watch the video

Video thumbnail for Make an opaque or transparent glass material in Blender Play tutorial

Watch on YouTube

Why it matters

Blender’s Principled BSDF combines common physical parameters (base color, roughness, clearcoat, transmission) to create believable glass. A ColorRamp gives quick color control; roughness and clearcoat define glossiness; transmission controls transparency.

Check your result

You should see the object change color from the ColorRamp and appear glossy. For transparent glass, the object should transmit light and show objects behind it. For opaque glass, the object should not transmit background elements and looks like colored glossy material.

Troubleshooting

If nothing changes, ensure the material is assigned to the object and you’re viewing the object in a render-capable viewport (LookDev/Rendered). If the surface looks flat, lower Roughness and increase Clearcoat for stronger highlights. If transparency doesn’t appear, confirm you’re using a renderer that supports transmission and that the object's material transmission value is not overridden by other nodes.