Interface: ColorMapFilterOptions

ColorMapFilterOptions

Options for the ColorMapFilter constructor.

Properties:
Name Type Default Description
colorMap ColorMapTexture

The colorMap texture of the filter.

mix number 1

The mix from 0 to 1, where 0 is the original image and 1 is the color mapped image.

nearest boolean false

Whether use NEAREST scale mode for colorMap texture.

Members

colorMap ColorMapTexture

The colorMap texture of the filter.

mix number

The mix from 0 to 1, where 0 is the original image and 1 is the color mapped image.

Default Value:
  • 1

nearest boolean

Whether use NEAREST scale mode for colorMap texture.

Default Value:
  • false