Thin Film#

Thin film simulates iridescent interference effects caused by microscopically thin transparent layers, as seen in soap bubbles, oil slicks, and some insect wings. The effect varies by viewing angle and film thickness, creating rainbow-like color shifts across the surface.

Parameters

Display Name

Name

Type

Default

Enable Thin Film

enable_thin_film

bool

false

Thickness (nm)

thin_film_thickness

float

400.0

IOR Preset

thin_film_ior_preset

enum

ior_custom

IOR

thin_film_ior

float

1.52

This layer models a reflective thin film when a metal and or specular reflection layer presents. Due to interference, a view-dependent iridescence effect occurs when the thin film layer thickness is close to the visible spectrum.

It can create materials like a peacock feather, burnt metal, soap bubble, and car paint.

Enable Thin Film

Enables thin film layer

Thickness (nm)

This parameter sets the thickness of the thin film layer in nanometers. At 0.0, the iridescence effect is disabled.

Tip

A typical soap bubble thickness is about 250 - 600 nanometers. By contrast, human hair thickness is in the range of 40,000 - 100,000 nanometers wide.

../../_images/rtx_material_omnisurfacebase_thin_film_thickness_200nm.jpg
../../_images/rtx_material_omnisurfacebase_thin_film_thickness_300nm.jpg
../../_images/rtx_material_omnisurfacebase_thin_film_thickness_400nm.jpg
../../_images/rtx_material_omnisurfacebase_thin_film_thickness_500nm.jpg

IOR Preset

This parameter presents a list of known IORs (index of refractions) for various materials, including glass, soap bubble, diamond. One can use custom IOR by setting this parameter to ior_custom and a value for the specular reflection’s IOR parameter.

IOR

This parameter sets the refractive index of the thin film layer.

Tip

The refractive index of water is 1.33, and a typical soap is 1.5. For a realistic result, the refractive index of the thin film should be less than soap and greater than water, i.e., 1.34 - 1.49.

../../_images/rtx_material_omnisurfacebase_thin_film_ior_1p33.jpg
../../_images/rtx_material_omnisurfacebase_thin_film_ior_1p5.jpg
../../_images/rtx_material_omnisurfacebase_thin_film_ior_2p0.jpg
../../_images/rtx_material_omnisurfacebase_thin_film_ior_2p5.jpg