Archived

This topic is now archived and is closed to further replies.

Ajare

GL_LINEAR

Recommended Posts

Apologies if this has been answered recently, but I can''t find it anywhere. Does anyone know how to get round the problem with using GL_LINEAR with tiles? It messes the borders of the tiles up. Difficult to describe, but if you''ve had the problem yourself, you''ll know what I mean. Thanks in advance Ajare

Share this post


Link to post
Share on other sites
Try other filtering on your tiles, maybe GL_NEAREST or something close to that. I tried doing this before and I got that same thang. What type of polygons are you using?

Share this post


Link to post
Share on other sites
cause filtering samples nearby pixels as well
check out other texture wrapping methods
eg
GL_REPEAT, GL_CLAMP_TO_EDGE GL_CLAMP_TO_BORDER

http://uk.geocities.com/sloppyturds/kea/kea.html
http://uk.geocities.com/sloppyturds/gotterdammerung.html

Share this post


Link to post
Share on other sites