[gameprogrammer] Re: loading images in OpenGL without blending

Either include a 'gutter' around the tiles, a technique that is used
when when mip mapping, or don't use the transitioning/blending.  You
may be able to avoid it a little by insetting the edges of the uv map
but I wouldn't think so.  gutter is about the only sure way to avoid
the problem.

--- Alan Wolfe <alan.wolfe@xxxxxxxxx> wrote:

> Hey everyone,
> 
> I'm making a 2d side scroller in opengl and i have several images
> that
> are just grids of sprites.
> 
> With the "blending" that opengl does to smooth out pixelated art,
> frames tend to blend into eachother a little bit so when i want to
> draw 1 frame of a character, off to an edge it will have a faint
> line
> from the next character over.
> 
> Does anyone know how to turn off this image blending so that it
> keeps
> it more pixel accurate?  In this case also i want to keep the
> pixelated look (:
> 
> I've checked google, asked on irc etc but so far no luck
> 
> 
> ---------------------
> To unsubscribe go to http://gameprogrammer.com/mailinglist.html
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: