Skip to content

Shading Layer Editor#

Shading layers are managed almost exclusively with this the Shading Layer Editor. The Shading Layer Editor, is divided in 3 sections: the toolbar, the rule view, the shading layer hierarchy view.

Shading Layer Editor

The Shading Layer Editor

(1) Add New Rule (2) Insert Above Selection (3) Duplicate Selection Above (4) Duplicate Selection Below (5) Delete Selection (6) Move Selection Above (7) Move Selection Below (8) Clear Selection (9) Search and Replace (10) Collapse All Hierarchy (11) Expand All Hierarchy (12) Shading Layer Tree Mode (13) Rule View (14) Shading Layer Hierarchy

Managing Rules#

To add a new rule, press Add (1). New rules are appended at the end of the list (13).

To insert a new rule, press Insert (2). Inserted rules are inserted above the selected rule.

To duplicate a selection press (3) to duplicate above and (4) to duplicate below.

To delete rules, select any rules and press Delete (5). Hold Ctrl and click on the button to delete all rules.

To move rules, select any rules and press either the Up (6) or Down (7) buttons to move them accordingly.

To clear all rules, press Clear (8).

Replace Text#

The Shading Layer Editor provides a handy replace tool allowing you to replace item name paths or materials in batch. To bring the replace tool, press Replace Text... (7)

Shading Layer Editor Replace Tool

Shading Layer Editor Replace Tool

Type what you want to replace in the Search Text field and the replacement in Replace With text field. You can select the replacement to affect item names and or materials. Hit Apply when you are done or hit again Search And Replace to cancel.

By default the search is case sensitive. You can disable the case sensitivity by pressing Case Sensitive.

Rule View#

The rule view (13) displays all rules from the currently selected Shading Layer in a convenient spreadsheet. A rule is composed of an item path and a set of properties. For more information on rules please refer to Understanding Rules section.

Editing Item Paths#

To edit the path of an item, double-click on the filter cell.

Setting Materials#

To set a material, double-click on the material cell and browse for the material you want to connect. You also can drag and drop the material to the material cell.

Setting Clip Maps#

Clip maps can be set through a dedicated clip_map column. To set a clip map, double-click on the cell and browse for the texture you want to connect as clip map.

Setting Displacements#

Displacements can be set through a dedicated displacement column. To set a displacement, double-click on the cell and browse for the displacement you want to reference.

Setting Shading Variables#

Shading Variables can be set through the dedicated shading variables column. To set shading variables, double-click on the cell and type the shading variables.

Toggling Visibility#

To toggle the visibility of items/shading groups click on the eye cell.

Enabling/Disabling Rules#

To enable/disable rules, click on the first cell.

Shading Layer Hierarchy View#

The shading layer hierarchy view is dedicated to shading layer hierarchy management. Alternatively, you still can use the Attribute Editor to specify shading layers children.

Display Mode#

You can customize Tree View display mode using Shading Layer Hierarchy Tree Mode (10).

Mode Description
Show Selection Display currently selected shading layer with its hierarchy. (Default)
Show Roots Only Display all shading layer hierarchies.
Show All Display all shading layers that are in the project. Note: a same shading layer can appear several times within different hierarchies.

Collapse/Expand All#

To collapse or expand all hierarchies, press either Collapse All (8) or Expand All (9).

Parenting Shading Layers#

To parent a shading layer to another one, simple drag and drop the shading layer children to the its parent.