Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Not drawing white pixels

  1. #1
    Intern Newbie
    Join Date
    Dec 2000

    Not drawing white pixels

    It would be nice to have a feature to not draw white pixels, like you can do with some picture formats such as gif. To draw "White", we would draw a slightly off-white color. That could save a lot of RAM for masking pictures, instead of adding a whole 8bits per pixel of alpha just to do a yes or no mask.

    It would be even more useful when combined with color-index mode, because then we could get an mask + colors in only 8 bits.

  2. #2
    Senior Member OpenGL Guru Humus's Avatar
    Join Date
    Mar 2000
    Stockholm, Sweden

    Re: Not drawing white pixels

    Consider the R5_G5_B5_A1 format.
    Only one bit alpha.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts