Gradient#
(TextureGradient)
- Category:
/Texture/Utility
- Default object name:
gradient
Description#
Map a color ramp to an input parameter.
Attributes#
Name | Type | Description |
---|---|---|
Pass Through | bool |
If checked, the current texture is not evaluated and the value of the attribute selected in Pass Through Attribute is directly forwarded. |
Master Input | string |
Name of the attribute that will be used as output if Pass Through is enabled. |
Invert | bool |
If checked, the texture is inverted. |
Opacity | double |
Set the opacity of the texture. |
Mode | long |
Set the input parameter mode for the gradient: Incidence uses the ray/surface angle, Slope uses the surface, Y-axis angle, Input uses a texturable color. |
Input | double |
Define a texturable input color when Mode is set to Input. |
Uv Slot | reference (UvSlot ) |
Define which UV slot is used when Mode is set to UV. |
Incidence Locator | reference (SceneItem ) |
Define an object to use instead of camera rays to compute the angle when Mode is set to Incidence. |
Output | curve[4] |
The Ramp that will be mapped to the input parameter. |