PDA

View Full Version : how can i load 8bit bitmap image with gldrawpixel?



epsxk82
08-22-2008, 06:13 PM
I can't load 8bit grayscale image. Is there another way?

Zengar
08-22-2008, 06:34 PM
Can you give us more information?

www_iptry_cn
08-22-2008, 10:37 PM
Reading

V-man
08-23-2008, 03:56 PM
The format would be GL_LUMINANCE, GL_UNSIGNED_BYTE

epsxk82
08-24-2008, 10:29 AM
thanks, i succeeded as i gave the same arguments as you mentioned