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

[WIP] Add mipmap generation capability #22

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

NogginBops
Copy link

@NogginBops NogginBops commented Dec 6, 2023

This PR adds mipmap generation capabilities.

I'm not super used to c++ so I feel like I might be doing a few things that are needlessly copying memory, I can fix these if someone tells me what needs fixing.
There is also probably a few things that could be cleaned up regarding my code and possibly some member variables that are no longer necessary, which could also be work removing.

I have also not explored how this affects the RDO parts of the code, I just let it run over all blocks for all mipmap levels and hoped for the best.

I added a normal map mipmap filter mode, but I'm not 100% that it's "correct" either, works fine for my purposes but might not be flawless.

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

Successfully merging this pull request may close these issues.

None yet

1 participant