Versions Compared

Key

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

...

You can stack as many Layers on a material as you want, and control the visibility of each layer using their Layer weight values and masks. In this example, we've added another extra layer on top working as an emitter, using a mask to define where that emitter is visible, adding certain emitting details on the surface.

...

Layer Opacity

Like in Photoshop, you can set the Opacity value of a layer to define its visibility, and thus, the visibility of the layers underneath. The following example represents a red glass material with a metal material above it. By setting the Opacity of the metal layer at i.e. 15%, you get a resulting material that is 15% metal and 85% red glass. 

...

Tip

 An interesting use for the Opacity value is for creating AGS (stands for Architectural Glass Solution). An AGS is a "sort" of glass material, very useful for window panes on architectural projects, where you don't need the time consuming properties of actual dielectric glass (refraction and caustics) but you want transparency and reflection. See a description of how to create and use AGS materials on the Material examples - How To section.

Layer Mask

In addition to Opacity values, you can also map the opacity of a layer using a mask map, a greyscale image that indicates where the layer is visible (white areas of the map) and where it is not (black areas). The map is set in the layer Opacity/Mask field.  In the red glass example, we can use a map as a mask to indicate where the metal material is visible and where not, creating a red glass material with metal inlays. 

...

Tip

When using a layer mask, the Layer opacity parameter still plays a part in the overall opacity that the Layer will have. For example if you set the Layer opacity to 50%, this will be the maximum opacity of the Layer, even in the areas of the mask that are totally white.

Another interesting use for layers masks is to create billboards or clipmaps: Having one single layer and mapping its opacity with a mask, will produce a material that is completely invisible in the black areas of the map, creating a billboard (or clipmap). Billboards are very useful to mimic plants, trees, leaves or people without the need of modeling them.

...

You can choose between Normal and Additive mode to blend the current layer with the layers below.

  • Normal mode it will act like a “solid” Layer, it will be stacked as a real material on top of another Layer. If the Layer blending mode is set to Normal and its opacity is 100, no layers underneath this Layer will be visible. For example, if its weight is set to 50%, it will act as a semi-transparent material that is on top of the layer(s) underneath it.

  • Additive mode however takes the material properties found in the components of the layer (the color, reflectance of any BSDFs, coating etc) and multiplies those values with the layers underneath it, much like the “Screen” blending mode in Photoshop. This means that even if the layer’s weight is set to 100, in Additive mode the layers underneath it will still be visible. The Additive mode has the overall effect of brightening the material. When the layer in Additive mode is brighter, the colors of the layers underneath will get brighter. When the Additive mode layer is fully black, no change occurs in the layers underneath it. When the Additive mode layer is fully white (a strong reflection) everything underneath it also becomes fully white.

A good way to visualize this effect is thinking of projecting light through several photographic slides. It can be useful to create interesting blends between the textures used in the BSDFs of the different layers and also to create plastics that have a thin shiny coating on the surface that still allows the color of the plastic to show through beneath it.

...