Inputs
The thicker the simulated layer, the broader the spectral colors can be fanned out. In the end, a thicker layer will produce a more colorful play of colors.
A very colorful result can be produced if the thickness of the layer of film is varied. Here, values can be input into the Node that will then be added to the static thickness of the layer. You can, for example, use a Basic Noise Node that is scaled via mathematical multiplication.
The refraction value controls the strength of the light refraction on the layer. A larger IOR will as a rule lead to faster color changes.
Use this setting to define the quality of the rendering. If the values are too low, the colors displayed colors will be reduced all the way to a monochrome display. From a technical point of view, this sample number reflects the number of calculation steps used to combine the ascertained spectral colors to an RGB value. Values that are too high will often not offer a visual advantage and will only extend render times unnecessarily. Therefore, try to keep the values as low as possible to achieve the desired effect.