Skip to content
3D Design & Development

How to Get Glass, Liquids and Refraction Right

Rendering transparent and refractive materials such as glass bottles, liquids and gems, which bend and reflect light.

MediaScaleUp Editorial Team 2 min read 10 views
How to Get Glass, Liquids and Refraction Right

Why does it matter?

Transparent materials are among the hardest to render realistically, and they are central to beverage, cosmetics and jewelry visualization.

What are the numbers?

  • Index of refraction controls how much light bends, such as about 1.33 for water and about 1.5 for common glass
  • Thickness real glass has thickness that affects refraction
  • Caustics focused light patterns through transparent objects
  • Liquids in containers need correct interfaces between liquid and glass

What should I do?

  1. Model real thickness for glass
  2. Use physically correct IOR values
  3. Model liquid slightly overlapping the container wall
  4. Use environment lighting for reflections
  5. Increase samples for transparent materials
What to do and what to avoid with glass, liquids and refraction, side by side
Good practice against the usual mistakes, from the sources listed below.

What should I avoid?

Avoid:

  • Single-sided glass planes
  • Wrong IOR values
  • Gaps between liquid and container
  • Plain backgrounds with nothing to refract

When should I get help?

Short answer Bring in help when beverage, perfume or jewelry renders look artificial.

Where this comes from

The figures and practices above come from the sources listed.

Working on something like this?

We take on 3D Design & Development work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.

Where to go next

Spotted something wrong? Report an error on this page. We correct on the page and say what changed.

All services

The work behind this article, and what it costs.

See it in practice

All the work
Before: 3D Interior Scene: Wireframe to Sunlit Final Render
After: 3D Interior Scene: Wireframe to Sunlit Final Render
Wireframe / clay Final render

3D Interior Scene: Wireframe to Sunlit Final Render

Blender Cycles scene layout, PBR textures, procedural shaders, sun + sky + window fill lighting, practical lamp, depth of field, AgX color management

Studio demo on a public-domain photo, not a client job

Architectural Visualization Real Estate & Interior Design 3-5 days

Before: 3D Packaging Render: From Clay Model to Shelf-Ready Hair Oil Box
After: 3D Packaging Render: From Clay Model to Shelf-Ready Hair Oil Box
Clay model pass Final product render

3D Packaging Render: From Clay Model to Shelf-Ready Hair Oil Box

Hard-surface modeling, UV unwrapping, label and dieline artwork, glass and liquid shaders, studio lighting, Cycles render

Studio demo on a public-domain photo, not a client job

Packaging Modeling Beauty & Personal Care 3-5 days

Before: Architectural Exterior: Clay Massing to Photoreal Daylight Render
After: Architectural Exterior: Clay Massing to Photoreal Daylight Render
Clay massing study Final exterior render

Architectural Exterior: Clay Massing to Photoreal Daylight Render

Architectural modeling, timber and concrete materials, glass and water shaders, landscaping, sun-and-sky lighting, Cycles

Studio demo on a public-domain photo, not a client job

House & Building Modeling Real Estate & Architecture 5-7 days

MediaScaleUp Editorial Team

Articles here are researched, written and checked by the MediaScaleUp studio team before they are published, and dated when they are reviewed.

Keep reading

More in 3D Design & Development