transparency problem

  • Follow


See this image:
http://www.glbasic.com/beta/pixels.bmp

(has to be bmp, otherwise you won't notice, that the "trees" have pink 
pixles at the right side, but not all of them, only some!

The texture was grabbed using glCopyTexSubImage2D.


-- 
-Gernot
int main(int argc, char** argv) {printf 
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}

________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com


0
Reply Gernot 3/18/2005 2:11:18 PM

Gernot Frisch wrote:
> See this image:
> http://www.glbasic.com/beta/pixels.bmp
> 
> (has to be bmp, otherwise you won't notice, that the "trees" have pink 
> pixles at the right side, but not all of them, only some!
> 
> The texture was grabbed using glCopyTexSubImage2D.
> 
> 

1. You can use PNG or other lossless compression, but for such a small 
bitmap it doesn't really matter.

2. The pink band around the upper left tree has values 255,0,128. The 
single pixel pink spots have values 251,2,126.

3. I can't say anything more since I don't know how you rendered the images.

--
Andy V
0
Reply Andy 3/19/2005 12:29:23 AM


1 Replies
123 Views

(page loaded in 0.043 seconds)


Reply: