You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is visible aliasing ("steps") on edges of the world when using alternate projections:
Fill layers are anti-aliased, but there was previously no need to anti-alias background layers or modify tile clipping masks to accommodate anti-aliased edges. This changes with alternate projections. Not sure how involved that is, but if it's an easy fix, we should do it before the final release to make thematic world maps look nicer. cc @ansis@ryanhamley
The text was updated successfully, but these errors were encountered:
I think this could be very tricky to do as part of the fill layer (water). We might need to draw a world outline above all the layers that makes some these pixels more transparent. We would also need to get that under labels that can extend beyond the map.
would we ever want to support a visible outline for the map?
is this related to a potential halo effect that we might want for globe view?
This notebook illustrates the standard derivatives method for antialiasing, which might possibly work here: Basically if you divide in a fragment shader 1) any function which falls off to zero at the desired point, by 2) its derivative with respect to screen pixels, you get: a function that goes to zero over one pixel and can be used for antialiasing. This works with analytical derivatives as well as those computed with oes_standard_derivatives (which GL JS doesn't use currently, but which is universally supported, and can be relied upon to be present)
There is visible aliasing ("steps") on edges of the world when using alternate projections:
Fill layers are anti-aliased, but there was previously no need to anti-alias background layers or modify tile clipping masks to accommodate anti-aliased edges. This changes with alternate projections. Not sure how involved that is, but if it's an easy fix, we should do it before the final release to make thematic world maps look nicer. cc @ansis @ryanhamley
The text was updated successfully, but these errors were encountered: