2012/2/28 Михаил Сидоров <[email protected]> > Hello everyone. I've noticed that there is a strange outline appears when > drawing a rotated sprite with RGBA texture. Here is a sample: > http://omploader.org/vY3cwdw and here is what I see: > http://omploader.org/vY3cxMQ. If you look closer you can see some dark > pixels despite the image is a white circle on a transparent background. Is > this a pyglet bug or one of OpenGL subtle things or something else? Is > there any way to avoid it?
Your images don't load, but typically when you see a dark fringe on an alpha blended texture, it is due to transparent pixels being the wrong colour (i.e. black), and thus blending incorrectly where partially transparent. The best fix for this is to use pre-multiplied alpha for your transparent images. -- Tristam MacDonald System Administrator, Suffolk University Math & CS Department http://swiftcoder.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
