PDA

View Full Version : 16-bit textures



treppie
10-25-2000, 06:01 AM
Can anyone tell me how to pass 16-bit texture (565 RGB) to glTexImage2D?

Or maybe driver converts 32 or 24-bit texture to 16-bit when in High-color mode?

monoboxer
10-25-2000, 06:22 AM
You can use the GL_RGB5 constant for the internalformat parameter of glTexImage2D