Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

layergroup images #6

Open
kelsey-sorrels opened this issue Apr 24, 2016 · 2 comments
Open

layergroup images #6

kelsey-sorrels opened this issue Apr 24, 2016 · 2 comments

Comments

@kelsey-sorrels
Copy link
Owner

layer-groups

@Zireael07
Copy link

How is that different from tile stacking?

@kelsey-sorrels
Copy link
Owner Author

They can be used for tile stacking, but there are some additional flexibility afforded by groups. Groups can be arbitrarily positioned on the screen using pixel coordinates. Groups can have arbitrary scales (they don't have to be integer multiples). Groups can be supplied with different fonts. This allows support for different glyphs of the same codepoints. Groups also support GL_BLEND options.

In the future, it opens up options for attaching different shaders to groups, or other attributes that would not be appropriate or feasible to attach to layers. Hope that answers your question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants