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

Implement texture atlas #6

Open
Drwalin opened this issue Mar 26, 2023 · 0 comments
Open

Implement texture atlas #6

Drwalin opened this issue Mar 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Drwalin
Copy link
Owner

Drwalin commented Mar 26, 2023

Implement texture atlas with dynamic downsampling of too big textures in case of lack of memory for new textures.
In case of lack of free memory within texture atlas, the one of the biggest textures should be first downsampled and only thereafter new textures can be placed inside texture atlas.

Supported textures should be in size of power of 2 and square (optionally any size). Unique textures could be placed outside of an atlas.

Use glTextureView from GL_ARB_texture_view to selec slices of texture array (for use with i.e. ImGUI). This approach requires texture storage to be immutable (generated with glTex*Storage*D instead of glTexImage*D).

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

No branches or pull requests

1 participant