Visual representation of nodes can be changed by adjusting parameters of its surfaces on the Node tab of the Parameters window.
To change the surface parameters, select the required surface in the hierarchy and tweak its parameters. For each surface, the parameters listed below are available for editing.
This section provides parameters for setting up rendering of the surface and its shadows.
|Viewport Mask||Viewport mask of the surface.|
|Shadow Mask||Shadow mask of the surface.|
|Shadow Mode||Considering the concept of static and dynamic light, a surface can cast static (baked) or dynamic (geometry-based) shadow depending on the light source mode. Two shadow modes are available:
|Cast Proj and Omni Shadows||Flag indicating if the surface casts shadows from projected and omni light sources.|
|Cast World Shadows||Flag indicating if the surface casts shadows from world light sources.|
|Bake to Voxel Probes||Flag indicating if the surface is to be baked to voxel probes.|
|Bake to Environment Probes||Flag indicating if the surface is to be baked to environment probes.|
|Cast Environment Probe Shadows||Flag indicating if the surface casts shadows from environment probes. This option is required for the Cutout by Shadow feature.|
This section provides parameters for setting up surface LODs.
|Min Visibility||Minimum visibility distance from the camera when a surface starts to appear on the screen. By default it is -inf.|
|Max Visibility||Maximum visibility distance when a surface is no longer fully visible: it can either disappear completely or start to fade out. By default it is inf.|
|Min Fade||Minimum fade distance, over which the surface fades in until it is completely visible. Along this distance the engine will automatically interpolate the level of detail from alpha of 0.0 (completely invisible) to 1.0 (completely visible). Fading in starts when the camera has reached the minimum distance of surface visibility and is in the full visibility range.|
|Max Fade||Maximum fade distance, over which the surface fades out until it is completely invisible. Fading out starts when the camera has reached the maximum distance of surface visibility and is out of the full visibility range.|
|Min Parent||Reference object, from which the minimum visibility distance of the surface is measured.
|Max Parent||Reference object, from which the maximum visibility distance of the surface is measured. The same principle as for the minimum parent is used to count it. The reference object is used to ensure simultaneous LOD switching for all surfaces.|
In this section, a material can be assigned to the surface and then material's parameters can be tweaked (if the material is editable). Here you can also inherit a new material from the material assigned to the surface: it will be assigned automatically. To inherit the material, click right to the field with the material name. To set the default material, click right to the field with the material name.
Quick Copy and Paste Operations#
You can copy and paste all parameters from one surface to another using the following context menu displayed by clicking in the top-right corner of the surfaces section.
The copy/paste option supports multi-selection. This can be especially useful, when setting up LODs for several models, for example. Suppose you have 3 LODs in each model as separate surfaces, you just set up parent, visibility and fade distances for the three surfaces of one model, then select these surfaces and click Copy Parameters in the context menu shown above, then select three corresponding surfaces of another model and select one of the following options:
- Paste Parameters Sequentially - in this case the parameters copied from source surfaces will be simply pasted to destination surfaces in the order they appear in the hierarchy.
- Paste Parameters By Surface Names - in this case the parameters copied from source surfaces will be pasted to destination surfaces with matching names.