...
| Parameter | Descriotion |
|---|---|
color realeta | Real part of the index of refraction of the base layer. |
color complexeeta | Imaginary part of the index of refraction the 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. As an example, on metals, this corresponds to the thickness of the oxide. |
float thinfilmeta | The index of refraction of the film. As an example, on metals, this corresponds to the 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 |
float gamma | Pass this to the GTR closure to control the tail of the specular highlight. Setting this value to 2 renders a GGX distribution exactly. |
Here is an example render of a steel sphere with a thin film of oxide ferum. It is rendered with varying roughness.
...