-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Support for decoding DXT1
with alpha
#14
Comments
Might be a good idea to share a sample image that can be used for this? |
Here are 2
I think the best way to handle this would be to always decode to
|
I don't know much about how the |
DXT1
textures can "carry" alpha information using black pixels, which means that any pixel that is pure black has alpha of0
and any other pixel has alpha255
.I couldn't seem to find a way to set this behavior in the library.
Here is an example of what it looks like when DXT1 textures aren't decoded with alpha (the textures in the image were decoded by this library and then converted to PNG using
ImageSharp
):The text was updated successfully, but these errors were encountered: