Thin Film Interference Shader (Soap Bubble & Oil Slick)
This pack provides a visually rich thin film interference material function, inspired by real-world iridescent phenomena such as soap bubbles and oil slicks. It includes a fully parametric material function with controls for film thickness and refractive index.
The package includes two sample material instances:
MI_SoapBubble (soap bubble effect)
MI_OilFilmOnMetal (thin oil layer on metal surface)
Also included is NS_SoapBubble_*, a Niagara System that spawns floating iridescent soap bubbles using the provided material. This effect is ideal for adding atmospheric detail to stylized or whimsical scenes.
You can adjust thickness (0–1 = 0–1000 nm), tweak refractive index, and blend with procedural masks to create stylized or semi-realistic interference effects.Ideal for real-time use in VFX, cinematic scenes, and stylized materials.
Contents:
Material Function: MF_ThinFilmInterference
Sample Material Instances: MI_SoapBubble, MI_OilFilmOnMetal
Sample Niagara System: NS_SoapBubble_Down, NS_SoapBubble_Keep
Preview level: LV_ThinFilmInterferenceDemo