Search this blog

02 February, 2009

DirectX texel offset reminder

DirectX evolved from a very bad library into a decently usable one. But under the hood, some bad habits still exist. Do you do post-processing effects? Or dynamically generate textures? Remember to align your vertices (subtracting half a pixel from them)!

This article is very helpful. Especially if you're trying to implement this...

Xbox 360, having a really cool DirectX 9.5 API, provides means of correcting that with a renderstate, and DirectX 10 solved it too, so that's only applicable to DirectX 9.

2 comments:

Anonymous said...

Hi,

Following the pdf link says : "403 - Forbidden / Access Denied".

;-)

Anonymous said...

http://wwwcg.in.tum.de/Research/Publications/Pyramid%20Filters