PDA

View Full Version : Alpha problem



edward
03-09-2004, 10:00 PM
Hi.
I am rendering a scene into an RGBA image;
however, I find the alpha value of the pixel with no object overlapped is 128, not tansparnt 0. may i know why? and how can I set it to 0.

Thanks in advance

03-10-2004, 03:23 PM
At a guess:

glClearColor(0.0, 0.0, 0.0, 0.0);

edward
03-10-2004, 10:55 PM
Yes, it works
Thanks