tangram icon indicating copy to clipboard operation
tangram copied to clipboard

Outlines with non-opaque blending can draw over line fills

Open bcamper opened this issue 9 years ago • 1 comments
trafficstars

See https://github.com/tangrams/tangram-es/issues/502

bcamper avatar Jan 26 '16 16:01 bcamper

Partially resolved by https://github.com/tangrams/tangram/commit/77e436c64225262c80fa67361170e47565574dd2.

Note that we still have issues with outlines drawing on top of intersecting line fills from the same style. For correct ordering, all outlines for the style should be consolidated under all line fills. Fixing this is more difficult, as it's not currently easy for us to place all outlines in the VBO before all fills. A possible future solution is a bucketed draw call architecture, where outlines are tracked as a separate draw call (either in a separate VBO, or a different range in the same VBO as the line fills).

bcamper avatar Jan 26 '16 21:01 bcamper