-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TileLayerBase: Clip tiles using depth
This changes the WebGL tile renderer to render tiles zoomed-in first, using the depth buffer as to clip lower layers of tiles without blending any transparent tiles. Any tile that uses alpha is drawn last, with the highest possible Z, to allow blending with the lower layer of already drawn tiles.
- Loading branch information
1 parent
e7b4e5b
commit 463b5b5
Showing
2 changed files
with
111 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters