Variable: GrayAlpha
constGrayAlpha:object
Defined in: color/alpha.ts:24
A shader module that takes alpha from the second band of a gray+alpha image.
A two-channel texture samples the second band into color.g. Put this module
before BlackIsZero or WhiteIsZero, which overwrite color.g.
Type Declaration
inject
readonlyinject:object
inject.fs:DECKGL_FILTER_COLOR
readonlyfs:DECKGL_FILTER_COLOR: "\n color.a = color.g;\n "
name
readonlyname:"gray-alpha"="gray-alpha"