I understand blending, where pixels being drawn are affected by the pixels
behind them.  My problem is the visible blurring, where two or more adjacent
pixels are affecting one another.  I have an idea that HL is trying to draw my
sprites with the wrong dimensions, and attempting to stretch them to match. 
However, I don't know what could be causing this.  I'm passing the correct
sprite rectangles into SPR_DrawXXX.

--- omega <[EMAIL PROTECTED]> wrote:
> actually, yeah that'd have something to do with it.
> additive is affected by everything behind it. its not that they're being
> blurred, its the fact you're trying to drawn an additive sprite ontop of
> something else (hence making it blend ontop).
> the only way to really get the effect you want, would probably be to well, i
> dont think you can unless you wanna deal with the blending.
> remember what additive does, it takes everything behind it, and goes
> brighter based on whats behind, so if you mix the two, you'll get another
> color, which looks like whats happening
> 
> 
> -omega
> Blackened Interactive
> http://www.nofadz.com/blackened
> 
> 
> > they're being rendered in different modes arent they? ie: ones transalpha,
> > and anothers additive?
> >
> > -omega
> > Blackened Interactive
> > http://www.nofadz.com/blackened
> > > No, take a closer look.  The sprites are definitely getting blurred or
> > > something, as details are visible in the sources that aren't in the
> > screenshot.
> > >  The yellow highlight is drawn so that it fits into the black spaces
> > around the
> > > blue border, yet it looks green in the screenshot, an indication that
> > blurring
> > > or blending is going on.  (When you add yellow and blue, it just makes
> > gray or
> > > white.  However, when yellow and blue are blended it can produce a
> > greenish
> > > color.)  Also, there's the fact that the highlight is only visible on
> the
> > top
> > > and right of the sprite--it should go all the way around, so something
> > strange
> > > is happening here.
> 
> 
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> 


__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to