PDA

View Full Version : Blending pixelation



Watcher
11-07-2003, 09:11 AM
http://golds.virtualave.net/firebad.jpg

I'm playing around with making lots of particles. Here, I'm trying to achieve a fire effect through particle blending (possibly not the best way to go about doing it, but I'm a newbie :P) but along the areas where the particles are changing color there is horrible pixelation. I'm using source blending GL_SRC_ALPHA and destination blending GL_ONE. I've sorted and drawn the particles from back to front relative to the viewpoint and depth writing is off. I thought this might be poor blending on the part of my video card, but I've played openGL games and I've never noticed such horrible pixelation. Any way to get rid of this?

mogumbo
11-07-2003, 09:25 AM
It looks like you might be using an 8-bit visual instead of a 24-bit visual. If you only have 8-bit color, you can see dithering like that.

11-13-2003, 08:17 AM
try with glEnable(GL_POINT_SMOOTH)