Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ParameterDescriotion
color realetaReal part of the index of refraction of the thin filmbase layer.
color complexeetaImaginary 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 thinfilmthicknessThickness of the film on the surface. On As an example, on metals, this corresponds to the thickness of the oxide.
float thinfilmetaThe index of refraction of the film. On As an example, on metals, this corresponds to the thickness index of refraction of the oxide.
float mediumetaIndex 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.

...