Page tree

Versions Compared

Key

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

...

In Auto mode, Fresnel Blend will be used when the base layer is diffuse, while Rough Coating will be used when the base layer is specular.

Layering Modes

Fresnel Blend

Section
Column
width190px

Column

The fresnel blend layer mode performs a weighted addition of the two materials, with the base material being weighted by the top materials transmission. This ensures that energy is conserved.

This is the simplest layer mode and is very commonly used in material models. It matches the behaviour of the MaterialX layer node.

Image Modified Image Modified Image Modified Image Modified Image Modified

Rough gold base layer and dielectric top layer with varying IOR (1.0-3.0)

Rough Coating

Section
Column
width190px

Column

The simplicity of the fresnel blend mode means that a number of physical effects are ignored.

From a physical viewpoint, this layer mode ignores the top layer for the incoming ray, and ignores refraction of the outgoing ray. The IOR of the top layer is also ignored by the base layer, meaning that the relative IOR is incorrect unless it has been manually set.

The rough coating layer mode extends this simple model by approximating the physical effects that it ignores.


Image Modified Image Modified Image Modified Image Modified Image Modified

Rough gold base layer and dielectric top layer with varying IOR (1.0-3.0)

Attenuation

Image Modified

LamaDielectric (absorptionColor set to red) layered on top of a white LamaDiffuse, layer thickness varying from 1 to 3.2

The top layer is considered for both the outgoing and incoming rays, meaning that the ray is attenuated by the top layer twice: once when it leaves and once when it exits. This is the case for both fresnel attenuation at the interface, and for absorption through the thickness of the layer.

Refraction

Refraction is considered by refracting both the incoming and outgoing rays through the top layer, instead of passing them straight through as in the fresnel blend mode. This changes the look of the base layer as it receives these refracted rays. As an approximation, the top layer is considered to have a roughness of zero for the refraction calculation. This means that as the roughness of the top layer increases, the accuracy of the model decreases.

Scattering

To compensate for rough top layers, the roughness of the base layer is clamped to the roughness of the top layer, so that if the roughness of the top layer is greater, then the roughness of the base layer will be increased to match it. This approximates the scattering of rays as they pass through the rough top layer.

Relative IOR

The IOR of the top layer is also tracked, so that the relative IOR of the base layer is correct. For example, if there is a water layer on top of a skin layer, the relative IOR of the skin layer will be reduced, causing lower reflectivity.

Smooth Coating

The smooth coating layer mode is very similar to the rough coating mode, but without the roughness clamping. This allows for greater control of the base layer roughness.

Auto

The auto mode is identical to rough coating in most cases, but switches to fresnel blend for diffuse layers. This is to accommodate for the common Diffuse < Specular < Clearcoat material configuration, where the diffuse and specular materials are thought of as one single base material, with the clearcoat sitting on top.


Comparisons

Weidlich & Wilkie surface types

These images show a collection of simple and common material configurations, inspired by   Weidlich and Wilkie's arbitrarily layered micro-facet surfaces . These have been rendered with both the fresnel blend mode, and rough coating mode.

Image Modified

Image Modified

Image Modified

Smooth gold with a rough/bumpy purple coating

These images show a smooth gold base layer with a bump mapped dielectric with absorption.

...

fresnel blendrough coating

Image Added

Rough/bumpy gold with a smooth purple coating

These images are of a similar material configuration, but with the roughness and bump map on the base layer instead of the top layer. This configuration demonstrates that even when the top layer is smooth, it still creates a difference in look due to the refraction and compression of rays that reach the base layer.

...

fresnel blend

rough coating

Image Added