-
Notifications
You must be signed in to change notification settings - Fork 51
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
ARGB8888 is read by VTFLib as GBAR8888 #13
Comments
The way the channels are permutated look like the color data region is offsetted by two bytes. |
The top-left and bottom-right pixel look fine though so maybe it's the channel mixing failing due to incorrect enum. |
Lines 3592 to 3604 in ae19fcf
Mixing table looks fine at least |
Enum here Lines 86 to 101 in f5e7991
|
Perhaps a bug with the shifts+masks in Line 3772 in ae19fcf
|
Attempted to debug but compiling on VS2019 is a no-go. Undefined references via DDS Utilities |
Nevermind, checked the pixel values and vtf-edit's start at D0 too. Must be broken shifting+masking as mentioned before. |
Sample file:
argb8888.zip
Expected, and in-game result:
VTFEdit:
The text was updated successfully, but these errors were encountered: