[FIXED] TGA RGBA Headers Bug
Hi!
I noticed that TGA RGBA textures written by shadermap 3.0.8 have some inconsistent headers.
Accordingly to TGA specifications found here: http://www.paulbourke.net/dataformats/tga/
DATA TYPE 2: Unmapped RGB
Offset 17 - Image Descriptor Byte. Bits 3-0 - number of attribute bits associated with each pixel. For the Targa 16, this would be 0 or 1. For the Targa 24, it should be 0. For Targa 32, it should be 8.
It seems that 3.0.8 always writes 0 for 32-bit TGA, which is wrong.
Would be nice to get it fixed.
I noticed that TGA RGBA textures written by shadermap 3.0.8 have some inconsistent headers.
Accordingly to TGA specifications found here: http://www.paulbourke.net/dataformats/tga/
DATA TYPE 2: Unmapped RGB
Offset 17 - Image Descriptor Byte. Bits 3-0 - number of attribute bits associated with each pixel. For the Targa 16, this would be 0 or 1. For the Targa 24, it should be 0. For Targa 32, it should be 8.
It seems that 3.0.8 always writes 0 for 32-bit TGA, which is wrong.
Would be nice to get it fixed.
Comments
Thanks for bringing this to my attention. I'll look into it right away. We currently have update 3.0.9 planned for later this week, hopefully we can get the TGA header bug fixed in that release.
Cheers,
Neil