...
| Parameter | Descriotion |
|---|---|
color realeta | Real part of the index of refraction of the thin filmbase layer. |
color complexeeta | Imaginary part of the index of refraction the thin filmthe base layer. |
| Note that the pair (realeta, complexeeta) replaces the eta parameter. One can still use 'eta' to describe non-metallic surfaces. | |
float thinfilmthickness | Thickness of the film on the surface. On As an example, on metals, this corresponds to the thickness of the oxide. |
float thinfilmeta | The index of refraction of the film. On As an example, on metals, this corresponds to the thickness index of refraction of the oxide. |
float mediumeta | Index of refraction of the outside medium. Defaults to 1 (vacuum) if not specified. An example scenario where the this needs to be change: a varnish |
Here is an example render of a steel sphere with a thin film of oxide ferum. It is rendered with varying roughness.
...