PDA

View Full Version : Blending problems



Nychold
03-28-2004, 07:19 AM
I'm writing a particle system, and I'm getting some very odd results after blending. The particles look fine using one of my particle lightmaps, but with others, they look banded. It's hard to describe, so I'm including some screenshots. Thanks for any help!

This one looks fine (http://thornvalley.genesismuds.com/Graphics/nobanding.jpg)
This one doesn\'t (http://thornvalley.genesismuds.com/Graphics/banding.jpg)

NOTE: The second one looks fuzzy, but that's because the particles are meant to be.

mikael_aronsson
03-28-2004, 10:17 AM
Hi !

I donšt have a clue, but it does like some kind of aliasing problem.

Mikael

hh10k
03-29-2004, 07:10 AM
My guess is mip-mapping. Does GL_CLAMP_TO_EDGE help?

ZbuffeR
03-29-2004, 02:09 PM
I think that your quads for the second screenshot are not large enough... so there is a 'clear cut' from the particle color to the background.

With the same texel data centered, try to create a larger texture (be sure that all its edges are rgba 0,0,0,0 ) and draw a larger quad, and it should be enough.

Hope it helps.