---
id: "thin-film-iridescence"
title: "Thin-film iridescence"
domain: "materials"
stage: "material"
realtime: "realtime"
platforms: [webgl2, webgpu, desktop-gpu, mobile-gpu, unity, unreal, godot, blender]
year_introduced: 2017
inputs: [material-params, normals]
outputs: [radiance]
style: "photoreal"
dynamic: "both"
cost: "cheap"
authority: "Belcour & Barla, 2017"
url: "https://texelatlas.vercel.app/t/thin-film-iridescence/"
sources_verified_at: "2026-11-29"
---
# Thin-film iridescence (Belcour & Barla, 2017)

> Models soap-bubble and oil-slick colours by evaluating interference of light reflected from the top and bottom of a thin dielectric film, folded into the Fresnel term of a microfacet BRDF. Belcour and Barla give a fast, closed-form spectral approximation.

## Reach for it when

- soap bubble or oil slick colours look wrong
- beetle shell or anodised metal needs rainbow sheen
- colour shifts with viewing angle on coated surfaces
- need interference colours in a pbr shader
- titanium or coated lens tint

## How it works

Light striking a thin film of thickness d and index n reflects off both interfaces; the two waves differ by an optical path delay of 2 n d cos(theta_t) and interfere, strengthening or cancelling wavelengths depending on angle and thickness. Belcour and Barla treat the film as a replacement Fresnel F(theta, d, eta1, eta2, eta3, kappa3) inside a microfacet model, computing it per wavelength via the Airy summation, then compress the result into a Fourier-domain sensitivity-curve approximation that avoids per-wavelength loops: only a few terms per RGB channel are evaluated. The film thickness can be a texture, giving swirled colours, and the base can be dielectric or conductor. Three.js exposes iridescence, IOR and thickness range in MeshPhysicalMaterial, and glTF has KHR_materials_iridescence.

## When to use it

Choose it for soap bubbles, oil on water, beetle shells, anodised metal, titanium oxide and coated lenses. Prefer baked colour ramps for stylised iridescence ([Toon / cel shading with lighting ramps](https://texelatlas.vercel.app/t/toon-shading.md)-style looks) where physical accuracy is not required. Prefer [Clearcoat layer](https://texelatlas.vercel.app/t/clearcoat-layer.md) for colourless coatings and [OpenPBR Surface](https://texelatlas.vercel.app/t/openpbr-surface.md) thin-film layer for interchange.

## Cost

cheap — About two extra Fresnel evaluations with a few trig operations per pixel.
Measured GPU Weight: 2.47× baseline (light) — 0.0814 ms median / 0.0838 ms p95 on Tesla T4/PCIe/SSE2 @ 1920x1080 (opengl-timer-query).
Ada L4 scaling: 2.16× baseline (light) — 0.0344 ms median (2.37× faster on L4).
Ampere A100 scaling: 1.48× baseline (feather) — 0.0426 ms median (1.91× faster on A100).

## Failure modes

- Hue shifts from RGB-only approximation fail to match spectral renderers for thick films
- Thickness texture mip filtering averages interference colours, producing muddy greys at distance
- Interaction with IBL is approximate; pre-filtered probes need an iridescence-aware Fresnel or reflections look wrong
- Rapid angular variation aliases without specular antialiasing

## Engine support

- babylonjs: builtin — `pbrMaterial.iridescence.isEnabled = true (PBRIridescenceConfiguration)` (evidence: https://github.com/BabylonJS/Babylon.js/blob/9.38.0/packages/dev/core/src/Materials/PBR/pbrIridescenceConfiguration.ts, checked 2026-12-01)
- blender: builtin — `Principled BSDF > Thin Film (Thickness, IOR)` (evidence: https://docs.blender.org/manual/en/5.2/render/shader_nodes/shader/principled.html, checked 2026-12-01) — Cycles only.
- threejs: builtin — `material.iridescence = 1 (MeshPhysicalMaterial)` (evidence: https://github.com/mrdoob/three.js/blob/r187/src/materials/MeshPhysicalMaterial.js, checked 2026-12-01)
- unity: builtin — `HDRP Lit > Material Type = Iridescence` (evidence: https://github.com/Unity-Technologies/Graphics/blob/557f6ac22b948284f57ffae6a789751fd1f63620/Packages/com.unity.render-pipelines.high-definition/Documentation~/snippets/shader-properties/surface-options/iridescence.md, checked 2026-12-01) — HDRP only (Lit Iridescence and StackLit).
- unreal: builtin — `Substrate Slab > Thin Film / Substrate Thin-Film material function` (evidence: https://dev.epicgames.com/documentation/en-us/unreal-engine/overview-of-substrate-materials-in-unreal-engine, checked 2026-12-01) — Substrate materials only.

## Dataflow

- Inputs: material-params, normals
- Outputs: radiance
- Platforms: webgl2, webgpu, desktop-gpu, mobile-gpu, unity, unreal, godot, blender

## Presets

### Soap-bubble style iridescence (three-material; rendered 2026-11-29)

```json
{
  "color": "#ffffff",
  "roughness": 0.05,
  "metalness": 0,
  "iridescence": 1,
  "iridescenceIOR": 1.3,
  "transmission": 0.9,
  "thickness": 0.5
}
```

Attribution: written for this index; sensible defaults, not measured

## Combination ideas

- [Chladni-vibrated iridescent soap film](https://texelatlas.vercel.app/ideas/chladni-driven-iridescent-soap-film/)

## Sources

1. [primary] Laurent Belcour, Pascal Barla (2017) A practical extension to microfacet theory for the modeling of varying iridescence. ACM Transactions on Graphics. https://doi.org/10.1145/3072959.3073620 (verified via crossref on 2026-11-29)
2. [implementation] mrdoob (2010) mrdoob/three.js. https://github.com/mrdoob/three.js License: MIT. (verified via github on 2026-11-29)
3. [implementation] Gökay Aydoğan (2026) gokayfem/glsl-studies. https://github.com/gokayfem/glsl-studies License: MIT. (verified via github on 2026-11-30)

## Cite this entry

Texel. "Thin-film iridescence." https://texelatlas.vercel.app/t/thin-film-iridescence/ (accessed 2026-12-01).
