D3D / OpenGL half-pixel offset issue?
by Tim Scheiman · in Torque Game Builder · 05/14/2006 (3:28 pm) · 1 replies
Hey all.
I've got a weird artifacting issue (with or without filtering in the image datablock) in which OpenGL likes to mangle my textures a bit. I've seen this same issue elsewhere (Ogre) and it had to do with OpenGL and D3D treating texture coordinates differently (one differs from the other by 0.5 pixels).
d3d:
opengl:

There's some extra JPG artifacting in there too, but you should be able to see what I'm talking about on the upper right side of the gem thingie. That black line is supposed to be straight!
Is there a way to fix this in script or is it a core engine issue? (btw I'm using ALPHA 2 still... :: ducks :: )
Thanks for any info or advice...
-Tim
I've got a weird artifacting issue (with or without filtering in the image datablock) in which OpenGL likes to mangle my textures a bit. I've seen this same issue elsewhere (Ogre) and it had to do with OpenGL and D3D treating texture coordinates differently (one differs from the other by 0.5 pixels).
d3d:
There's some extra JPG artifacting in there too, but you should be able to see what I'm talking about on the upper right side of the gem thingie. That black line is supposed to be straight!
Is there a way to fix this in script or is it a core engine issue? (btw I'm using ALPHA 2 still... :: ducks :: )
Thanks for any info or advice...
-Tim
Torque 3D Owner Tim Scheiman
Ghost Ship Studios