Versions Compared

Key

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

...

Section
Column
width50%

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
width5%

 


Column
width45%

...


Layers

...

Section
Column
width50%

Base material – This slot defines the base material of the surface. Other layers are stacked on top of it.

UI Text Box
typenote

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
typenote

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
typetip

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
typeinfo

Additionally, the Displacement can be manually adjusted for specific objects by using a Corona Displacement Tag.

Column
width5%

 


Column
width45%

 

 


Displacement – Blending modes

...

Section
 
Column
width1%


Column
width32%

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
titleClick here to see the Material setup.

Image Removed

Column
width1%

 


Column
width32%

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
titleClick here to see the Material setup.

Image Removed

Column
width1%

 


Column
width32%

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).

Image Removed

Column
width1%


Section
Column
width1%

Column
width32%

Image Added


UI Expand
titleClick here to see the Material setup.

Image Added

Column
width1%


Column
width32%

Image Added


UI Expand
titleClick here to see the Material setup.

Image Added

Column
width1%


Column
width32%

Image Added 


UI Expand
titleClick here to see the Material setup.

 
Column
width1%


Examples

...

Section
Column
width48%

Corona Layered Material: Example A

 


UI Expand
titleClick here to see the Material setup.

Column
width4%

 


Column
width48%

Corona Layered Material: Example B

 


UI Expand
titleClick here to see the Material setup.