PXC Documentation

PXC Home

Colorize

pre 1.18

Map brightness of a pixel to a color from a gradient.

Node Data

Display name

Colorize

Internal name

Node_Colorize

Inheritances

Node_Processor
Node_Colorize

Inputs

toggle

Channel

Surfaces

surface

Surface In

surface

Mask

slider

Mix

Input

range

Color Range

Colorize

gradient

Gradient

slider

Gradient Shift

enum

Overflow

Rendering

bool

Multiply Alpha

bool

Keep Alpha

Outputs

surface

Surface Out

Attributes

Color Depth
View all 60 examples

Colorize node is a main method of coloring black and white image. It map the brightness of a pixel to a color in the gradient.




Properties


Gradient


Gradient to map the surface.


Gradient Shift


Shift the gradient by a fix amount.


Multiply Alpha


Multiply alpha value to the brightness calculation.



Commit History


1.21.4.004
  • Add Gradient overflow control.
1.21.3.007
  • Add Color range control and clamping when working with non-8rgba surface.


Related Links