Versions Compared

Key

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

This article explains the settings and values for the Corona Select Material.

Floatingpagetoc

Overview

...

 

Section
Column
width50%

The Corona Select Material lets you plug multiple materials into a single material, and then choose which one of them to use in the actual rendering. To select a specific item, simply click the checkbox next to that item's name.

See also: Corona Select Shader

Column
width5%

 

Column
width45%

...

Section
Column
width50%

Material count – This parameter specifies the number of materials that you could select from. 

Current index – This parameter sets the active material used for rendering.

List of materials – This parameter shows the number and names of all materials and allows selecting one of them by enabling the appropriate checkbox.

UI Text Box
typeinfo

Currently, the maximum number of materials inside a Corona Select Material is 99 (numbered from 1 to 99).

Column
width5%

 

Column
width45%

 

Examples

...

 

Section

Assigning Different Materials to Objects

Three different carpaint materials are connected to a Corona Select Material, which is then applied to the car object. This way, you can cycle between different carpaint colors a single click.

Column
width20%
 
Column
width60%
Image slider
Panel
titleGreen Paint

Panel
titleBlue Paint

Panel
titleOrange Paint

UI Expand
titleClick here to see the material setup

Image RemovedImage Added

Column
width20%

 

...