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