IconLayer mask documentation #9063
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
When an icon has
You can subclass the IconLayer to apply your own masking logic. example |
Beta Was this translation helpful? Give feedback.
When an icon has
mask:true
, it only uses the source image as a transparency mask. More specifically,color = vec4(instanceColor.rgb, instanceColor.a * textureColor.a * opacity)
You can subclass the IconLayer to apply your own masking logic. example