by Xaser » Thu May 22, 2008 4:07 pm
Ah, thanks for your help! It's working now.
I honestly have no knowledge of PNG structure or how palettes are stored, but would it simply be fundamentally wrong to, in this case, have the engine treat the color channel as alpha regardless of the extra .PNG bits? Obviously there's no desirable reason to have the image treated the way it was in my borked wad, so wouldn't it be safe for the Shaded renderstyle to always 'assume' the palette is alpha? Since it probably needs to be set up that way always, I don't see much potential for harm.
Sorry, I'm just babbling on. It just seems like an 'extra step' in my eyes but I'm sure you have better reasons for the way it's done. Silly me and my non-coding nature. ;P
Also, I don't think anyone else has tried to use this renderstyle just yet and I'm using black anyway, so no rush on the newest issue.
Ah, thanks for your help! It's working now.
I honestly have no knowledge of PNG structure or how palettes are stored, but would it simply be fundamentally wrong to, in this case, have the engine treat the color channel as alpha regardless of the extra .PNG bits? Obviously there's no desirable reason to have the image treated the way it was in my borked wad, so wouldn't it be safe for the Shaded renderstyle to always 'assume' the palette is alpha? Since it probably needs to be set up that way always, I don't see much potential for harm.
Sorry, I'm just babbling on. It just seems like an 'extra step' in my eyes but I'm sure you have better reasons for the way it's done. Silly me and my non-coding nature. ;P
Also, I don't think anyone else has tried to use this renderstyle just yet and I'm using black anyway, so no rush on the newest issue.