16 bit textures

Blitz3D Forums/Blitz3D Programming/16 bit textures

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

When you load textures in a certain graphics mode (16-bit, 32-bit etc.), they're automatically converted to the same bit depth, regardless of the bit depth of the image file.

So, your code that writes to the alpha channel needs to take this into account since the bits used for RGBA will be different for all the graphics modes that use a different bit depth.