Menu

#5 Use OpenGL texture border

open
nobody
None
5
2005-04-26
2005-04-26
No

I have absolutely no idea about how Gens is coded, but I've read
something that might help.

Gens with OpenGL and "fast blur" will show a strange colored line at
one screen side. IIRC, is is a green line on right edge. Anyway, that line
is "incorrect", since it does not exist in real Genesis/Mega Drive.

One idea to solve this "bug" is to use a "texture border". Normally,
textures have a size equal to 2^n. With a border, they have (2^n)+2. The
border isn't actually displayed by OpenGL, but is used when doing
filtering.

Read more here:
http://orion.lcg.ufrj.br/compgraf1/downloads/
OpenGL_Programming_Guide/chapter09.html#name13

(I'm just a Gens user, a student, and someone who is starting to learn
OpenGL)

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.