Skip to content

Commit e9c8c5a

Browse files
committed
comment
1 parent a87a7c5 commit e9c8c5a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/three/plugins/mvt/GlyphAtlasTexture.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,10 @@ export class GlyphAtlasTexture extends CanvasTexture {
229229

230230
return this._draw( key, ( ctx, x, y, w, h ) => {
231231

232+
// TODO: this draw is resulting in alpha blending white outline
233+
// We might be able to use "source-over" and "destination-in" with "globalCompositeOperation"
234+
// to fix this.
235+
232236
const iw = w * iconScale;
233237
const ih = h * iconScale;
234238
const scale = Math.min( iw / vbW, ih / vbH );

0 commit comments

Comments
 (0)