The Corona Layered Material offers stacking of multiple materials on top of each other in order to mix them. The resulting material depends on the blending amount or the masking shader used for each material layer. You can use a shader or a texture map to mask out the material layers in order to control what parts appear in the render - for example: rusted spots on a metal surface, exposed bricks below a cracked concrete surface, or a glossy pattern on a matte painted surface.
Column
width
5%
Column
width
45%
...
Layers
...
Section
Column
width
50%
Base material – This slot defines the base material of the surface. Other layers are stacked on top of it.
UI Text Box
type
note
A base material is required for the Layered Material to work properly. If the base material slot is empty, the base material is rendered as a simple material with the wire (object) color set as its diffuse color.
Displacement – This parameter specifies what displacement blending mode to use for the layered displacement. The base displacement is always used.
Only from base material – This mode only uses the base material's displacement. Blend all layers – This mode blends displacement from all layers including the base material. Add all layers on top – This mode adds each layer's displacement on top of each other.
Layers – These are the layers that are stacked on top of the base material. Each layer can be enabled or disabled.
Amount – This is the intensity (also considered as the visibility) of the layer.
Mask – This parameter allows the load of a texture map or shader to be used as a mask for the layer.
UI Text Box
type
note
Stacking a large number of complex materials in a Corona Layered Material and blending them can affect rendering performance. Usually, it makes more sense to create a single material than a very complex network of Layered Materials if both approaches can be used to get similar end results.
UI Text Box
type
tip
You can also use Corona Decals to achieve similar displacement effects as with the Corona Layered Material. The Corona Decal can turn out to be more robust and flexible than dealing with a complex Corona Layered Material.
UI Text Box
type
info
Additionally, the Displacement can be manually adjusted for specific objects by using a Corona Displacement Tag.
Column
width
5%
Column
width
45%
Displacement – Blending modes
...
Section
Column
width
1%
Column
width
32%
Displacement mode: Only from base material
In this mode, the displacement only from the base material is applied to the object.
Image Removed
UI Expand
title
Click here to see the Material setup.
Image Removed
Column
width
1%
Column
width
32%
Displacement mode: Blend all layers
This is the default mode for displacement. This is like stacking displacement maps from the base material and layered materials like layers on top of each other without any special blending mode; then, they can be mixed by changing their opacity.
Image Removed
UI Expand
title
Click here to see the Material setup.
Image Removed
Column
width
1%
Column
width
32%
Displacement mode: Add all layers on top
This is like stacking displacement maps like layers on top of each other and using the Add blending mode to mix them (then their strengths can be affected by the Amount value).