Variable: WhiteIsZero
constWhiteIsZero:object
Defined in: color/white-is-zero.ts:14
A shader module that converts single-band grayscale data to RGB by
broadcasting the inverted input value (0 = white, 1 = black) into all
three channels. Matches TIFF PhotometricInterpretation = 0 (WhiteIsZero).
Type Declaration
inject
readonlyinject:object
inject.fs:#decl
readonlyfs:#decl: "\n vec3 white_zero_to_rgb(float value) {\n return vec3(1.0 - value, 1.0 - value, 1.0 - value);\n }\n" =shader
inject.fs:DECKGL_FILTER_COLOR
readonlyfs:DECKGL_FILTER_COLOR: "\n color.rgb = white_zero_to_rgb(color.r);\n "
name
readonlyname:"white-is-zero"="white-is-zero"