Rescale#
(TextureRescale)
- Category:
/Texture/Math
- Default object name:
rescale
Description#
Rescale the values of an input color.
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. |
Input | double[3] |
Color to be rescaled. |
Input Min | double[3] |
Defines the minimum input color value. Values under this threshold are clamped. |
Input Max | double[3] |
Defines the maximum input channel value. Values above this threshold are clamped. |
Output Min | double[3] |
Defines the remapped output minimum value. |
Output Max | double[3] |
Defines the remapped output maximum value. |
Clamp | bool |
Clamp output color channels to [0, 1]. |