SFML community forums
Help => Graphics => Topic started by: CombatWombat on August 25, 2012, 04:22:59 pm
-
Are there specific recommendations to get the sharpest detail on sprites/textures?
Specifically I am rendering tiles using a vertex array and one large texture (just shifting tex coords). I am getting some problems with "space" between tiles at certain zoom and pan settings. I suspect this is related to how opengl scales texture coordinates, so what can I do to minimize these artifacts?
Note the horizontal black lines that sometimes appear
http://www.youtube.com/watch?v=2P9Ch03jHX0&
I have isSmooth set to false everywhere that it seems applicable.
I have my View.size set equal to the videoMode width&height.
The "zoom" factor is powers of 2.
The View.position is in integers.
Anything else? Should I have pre-made textures for each zoom level? Course this means I have to rewrite the entire vertex array everytime the zoom changes.
Thanks.
-
Can't help, but your spaceship is very evocative... ;D