Colorize
2D Modifier - Re-colorize an image by applying a color gradient
Colorize is a generic color modifier that can be configured in many different ways.
For every pixel, it proceeds in two steps. First, theColor Selectorcomputes a percentage value for the pixel that can be one of the RGBA values, the luminance, the grey-scale level or a color key value. Second, based on that value, it returns the color given by a FunctionV9({input = Percentage, output = HsvColor}) .
Here are the parameters for the example above:
-
Color Selector Parameters
-
Color Gradient Parameters
Variables:
- Color Selector: How the RGBA Colors are mapped to positions in the gradient
- Loading: The loading status of the color selector . It can be loaded , enabled by not loaded or unloaded
- Activation: The activation status of the color selector . It can be active , enabled by not active or inactive
- Color Label: Associate a color label to your color selector to make it easily locatable
- Solo: Activate this to keep only this color selector active and hide all otherin same location
- Editable: The editabiliy status of the color selector . It can be locked directly , locked indirectly or editable
- Preset: Select a preset to apply on the color selector
- Status: Warnings and errors associated to this color selector
- Gradient: How final colors are obtained
Python
Oil.createObject("ColorizeTextureModifier")