Sign in to follow this  
d07RiV

Precise textures

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this