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

BC1-3 Compressor single color optimization #223

Open
walbourn opened this issue Mar 4, 2021 · 2 comments
Open

BC1-3 Compressor single color optimization #223

walbourn opened this issue Mar 4, 2021 · 2 comments
Assignees

Comments

@walbourn
Copy link
Member

walbourn commented Mar 4, 2021

The libsquish library adds a special-case block compression for DXT when all 16 source pixels in the block are the same color.

For this case, it uses a table-based scheme to pick the optimal encoding.

NVTT adopted the same solution.

@walbourn
Copy link
Member Author

walbourn commented Mar 4, 2021

Algorithm discussed in this blog

@walbourn
Copy link
Member Author

walbourn commented Jun 9, 2021

Q: What do to about dithering with the single-color blocks?

@walbourn walbourn self-assigned this Aug 18, 2021
@walbourn walbourn unpinned this issue Oct 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant