• Advertisement
Sign in to follow this  

Precise textures

This topic is 1747 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm using Direct3d(9) to render textures in my UI, but I'm getting a very bad precision when textures are scaled. No matter what min/mag filters I use, frame borders are moving back and forth by 1 pixel as I resize the window. This is strange, as the X coordinates do not change at all, yet the texture moves in X direction.

Is there a way to force D3D to render textures more precisely, perhaps I should use sprites instead? Although I wanted to avoid using DXSDK so I don't have D3DX available.

Share this post


Link to post
Share on other sites
Advertisement

Oh, completely forgot about that, I've been through that on my old project. Thanks, I'll give it a try!

e: Yep, works perfectly now.

Edited by d07RiV

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement