PxrThinFilm
PxrThinFilm
Computes a thin-film interference effect on six spectral bands.
Input Parameters
Input Color
The color that will be perturbed by the interference effect.
RIB: color inputRGBDefault: 1.0 1.0 1.0
Eta
The index of refraction of the thin film. We assume the exterior medium is air.
RIB: float etaDefault: 1.5
Spread
The index of refraction's amount of variation across the color spectrum.
RIB: float spreadDefault: 0.01
Thickness
The thickness of the thin film in nanometers.
RIB: float thicknessDefault: 1896.0
Thickness Scale
Connect a pattern here to modulate the thickness. This will multiply the thickness value.
RIB: float thicknessScaleDefault: 1.0
Front Only
Compute only interference on front-facing points. By default, both sides are computed.
RIB: int frontOnlyDefault: 0
Output Parameters
resultRGB
The color result.
resultR
The R channel from the resultRGB output.
resultG
The G channel from the resultRGB output.
resultB
The B channel from the resultRGB output.