OPTICAL & DIELECTRIC SHADERS

Realistic 3D glass refraction for bottles and gems

Simple alpha transparency makes glass bottles, watch crystals, and luxury eyewear look like hollow plastic shells. Aircada pairs physically based optical transmission (wall thickness, light bending, prism dispersion, and volumetric color depth) with multi-bounce crystal refraction so shoppers inspect internal liquids, labels, and facets at 60 FPS.

Realistic 3D glass refraction for bottles and gems

Why standard 3D transparency makes luxury glass look like plastic

When selling bespoke spirits bottles, prescription eyewear, architectural glass partitions, or sapphire-crystal timepieces, visual trust depends on how light travels through the material. Standard alpha transparency merely fades polygon opacity without bending background geometry or shifting color across thick edges. A heavy decanter base or domed watch lens ends up looking like a flat, weightless film.

Aircada provides two complementary optical rendering layers directly inside the browser. For bottles, liquids, eyewear, and frosted architectural panels, native physical PBR transmission combines real-world Index of Refraction (IOR 1.0 to 2.5), physical wall thickness (0 to 5), volumetric color attenuation, and spectral dispersion (0 to 1). For cut crystal and faceted jewelry, a dedicated multi-bounce refraction shader traces up to eight internal reflections with per-channel RGB chromatic aberration across an equirectangular environment map.

Every customer-selected glass tint, frosted finish, lens coating, and engraving zone binds directly to Shopify or headless storefront pricing and checkout metadata, paired with high-resolution visual proofs so buyers and production teams confirm the exact specification before fulfillment.

Optical effects engineered for high-end product categories

DIELECTRIC SHADER SHOWCASE

PHYSICAL TRANSMISSION

True-to-life light bending through thick glass and liquids

Native physical transmission evaluates light passing through clear, tinted, and frosted dielectric materials in real time. Instead of faking transparency with opacity sliders, Studio operators dial in exact physical optical parameters and optional grayscale texture maps to vary clarity, frost, and wall thickness across a single part.

Dedicated Studio sliders and texture map slots for Transmission (0 to 1), Thickness (0 to 5), IOR (1.0 to 2.5), and Dispersion (0 to 1)
Volumetric Attenuation Distance and Color darken thick glass bases and amber or emerald bottles naturally
Combines cleanly with {{@link:capabilities.3d-technology.surface-reflections|label=HDR environment reflections}}, clearcoat gloss, and sandblasted roughness maps
Domed sapphire watch crystal showing clear dial magnification at the center and bright Fresnel reflections along the curved edge
MULTI-BOUNCE CRYSTAL & PRISM FIRE

Internal reflections and RGB dispersion on crystal and gemstones

High-index gemstones and cut crystal bounce light internally several times before exiting, bending blue wavelengths more sharply than red. Aircada's dedicated mesh refraction shader traces multi-bounce total internal reflection inside a 20-facet convex proxy while splitting Red, Green, and Blue rays along offset IOR curves.

Extended Index of Refraction range from 1.0 to 3.0 covering crystal, sapphire, diamond, and specialty optics
Configurable 1 to 8 internal reflection bounces with per-channel RGB chromatic aberration (0.0 to 0.1)
Tunable grazing Fresnel rim strength (0.0 to 1.0) plus smooth derivative mip correction to prevent facet shimmer during motion
Macro optical lens edge showing separated red, green, and blue refracted light rays converging through thick beveled glass
Built-in optical presets for water, glass, crystal, and gemstones
Material CategoryPhysical IORRecommended ModeKey Studio Parameters
Water & Clear Beverages1.333Native PBR TransmissionTransmission 0.95 to 1.0, low roughness, subtle attenuation color for tinted liquids
Polycarbonate & Eyewear Lenses1.490 to 1.586Native PBR TransmissionLow thickness (0.1 to 0.4), tinted color/attenuation, optional iridescence for anti-reflective coatings
Borosilicate & Spirits Bottle Glass1.517 to 1.540Native PBR TransmissionThickness 1.0 to 3.5, attenuation color for amber/green glass, roughness map for frosted logos
Synthetic Sapphire (Watch Crystals)1.768Native PBR or Mesh RefractionZero roughness, crisp HDR reflections, subtle dispersion (0.05 to 0.15) on beveled edges
Diamond & Faceted Lead Crystal2.000 to 2.417Multi-Bounce Mesh RefractionIOR 2.0 to 2.42, 3 to 6 internal bounces, chromatic aberration 0.01 to 0.04, smooth mip correction enabled

Responsibility Tiers

  • 1 Native Aircada layer
  • 1 Aircada Configuration layer
  • 1 Custom Implementation layer
  • 1 External layer

Responsibility Boundaries for 3D Glass & Optical Materials

How Aircada's physical optical pipeline, Studio parameters, and 3D glass geometry divide responsibilities.

Native PBR optical transmission & multi-bounce gemstone refraction shader

  • Native Aircada
  • WebGPU and WebGL2 execution of physical transmission, thickness, volumetric attenuation, dispersion, and multi-bounce (1 to 8) RGB chromatic refraction with smooth mip correction.

IOR, thickness, dispersion, bounce count, attenuation & frost maps

Option-driven tint switching & frosted engraving mask bindings

  • Custom Implementation
  • Connecting sunglass lens tints, bottle glass colors, internal liquid levels, or sandblasted roughness masks to shopper customization options.

Modeling inner and outer wall thickness on 3D glassware and lenses

  • External
  • Authoring manifold 3D glass meshes with accurate wall thickness and clean vertex normals in Blender, Rhino, or SolidWorks.

Frequently Asked Questions

Can customers see labels or liquid inside a glass bottle through the refracted surface?
Yes. Opaque objects placed inside or behind a transmissive PBR glass mesh render cleanly through the refracted surface, so internal straws, liquid fills, and back-wall labels bend naturally through the outer glass wall. Adjusting thickness and attenuation color lets you control how light deepens across heavy glass bases.
Does real-time glass refraction require a high-end desktop GPU?
No. Both Aircada's physical transmission materials and the multi-bounce gemstone refraction shader run in real time on WebGPU with WebGL2 fallback instead of offline path tracing. Because multi-bounce crystal shading uses an analytic convex proxy and smooth mip correction, glass and jewelry previews stay responsive on modern iPhones, iPads, and laptops.
Should I model glass bottles with actual wall thickness or a single polygon layer?
For spirits bottles, decanters, and glassware, modeling both an outer and inner wall produces the most convincing refraction along the neck, rim, and heavy punt base. For thin lenses or single-sheet architectural glass, a clean manifold surface paired with Studio's physical thickness slider provides realistic bending without adding extra geometry.
Can I combine frosted roughness, anti-reflective coatings, or tinted colors with glass refraction?
Yes. You can pair transmission and dispersion with PBR roughness maps, studio material properties, normal-map fluting, and thin-film iridescence. This lets one configurator cover sandblasted logos, smoked architectural glass, and iridescent sunglass lenses.
NEXT STEP

Ground your products with studio contact shadows

Anchor transparent glassware, furniture, and hardware to the studio floor with configurable soft ground shadows.

CONNECTED CAPABILITIES

Related capabilities

Explore the adjacent capabilities and integrations that pair with this workflow.

True-to-life 3D mirrors, chrome, and floor reflections
PLANAR REFLECTOR & MIRROR SHADERS
CAPABILITY

True-to-life 3D mirrors, chrome, and floor reflections

Explore
Auto-resizing studio floor shadows for 3D models
STUDIO FLOOR & SHADOW PIPELINE
CAPABILITY

Auto-resizing studio floor shadows for 3D models

Explore
Live video playback on 3D screens and displays
DYNAMIC MEDIA & DISPLAY SURFACES
CAPABILITY

Live video playback on 3D screens and displays

Explore
Mobile Safari VRAM and 3D memory protection
MOBILE STABILITY & BATTERY LIFECYCLE
CAPABILITY

Mobile Safari VRAM and 3D memory protection

Explore

Sean Chenoweth
WRITTEN BY
Sean Chenoweth
Co-founder, Aircada
Published Updated