This pattern layers the input scalar displacement patterns.
Each PxrDispScalarLayer supports up to 5 layers.
If you need more than 5 layers, connect the result of one PxrDispScalarLayer node to the input of another PxrDispScalarLayer node. |
We need to connect the result of this pattern to the input of PxrDisplace's Scalar Displacement in order to displace the geometry. |
Controls the gain of the final layered scalar displacement result. This is handy when we want to globally adjust the amount of all layered displacement values. Each layer's gain is being multiplied by this parameter.
By default, the base layer is enabled. But say we need to debug, we can disable the base by unchecking this parameter. It if is unchecked, the base layer will be skipped for layering.
Gain for the base layer.
Connection to the scalar displacement pattern. It can be any pattern's output float result such as resultF, resultR, resultG, resultB.
If checked, layer 1 is enabled.
Gain for the layer 1.
Connection to the scalar displacement. It can be any pattern's output float result such as resultF, resultR, resultG, resultB.
Mask for this layer 1. Value that is closer to zero will apply less of this layer.
Choose how this layer's displacement combines with the base layer.
If checked, layer 2 is enabled.
Gain for the layer 2.
Connection to the scalar displacement. It can be any pattern's output float result such as resultF, resultR, resultG, resultB.
Mask for this layer 2. Value that is closer to zero will apply less of this layer.
Choose how this layer's displacement combines with the previous layer. If the layer 1 is not enabled, it will combine with the result of the base layer.
Similar parameters to Layer 2.
The float output.