-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add rationale in the README? #9
Comments
Yeah, the idea is to have implementations of the algorithms. Where can I find more information about OpenGL texture units? |
https://www.opengl.org/wiki/Texture#Texture_image_units and http://stackoverflow.com/questions/25373634/opengl-rendering-with-multiple-textures?noredirect=1#comment39595524_25373634 are both a good basis. Each
and then both your textures will be available inside the shader. Looking into it a little further though, it looks like the number of texture units can be pretty limited (e.g. 32), so it doesn't scale nearly as well as sprite sheets created with this repo. |
Texture atlas is an old and well-known technique, still used in production, albeit much less than before. I do agree though that the rationale needs to be a part of README. |
Good idea. This repo can always accept more PRs. |
I'm having some trouble understanding the need for this repo. I found this, but as far as I know, OpenGL texture units that solve this problem. Can somebody clarify this for me?
Thanks!
Edit: Oh this makes sense if there's a backend being supported that doesn't support texture units. Are there other use cases I'm missing?
The text was updated successfully, but these errors were encountered: