I've written an RGB image loader (SGI RGB format), but I'm having trouble getting the Alpha layer to work properly.
It seems to either be On or Off, despite range values between 0 and 255 being loaded into the alpha values.
Am I missing something very obvious?
I thought that PF_RGBA8888 has the bytes 0, 1, 2, 3 as R, G, B, A per pixel, or am I wrong ?
All the colours come out correctly... just the alpha that isn't working...
It seems to either be On or Off, despite range values between 0 and 255 being loaded into the alpha values.
Am I missing something very obvious?
I thought that PF_RGBA8888 has the bytes 0, 1, 2, 3 as R, G, B, A per pixel, or am I wrong ?
All the colours come out correctly... just the alpha that isn't working...