blurred sprites in directx9 (FIXED)

Started by
1 comment, last by ProgrammerZ 15 years, 7 months ago
Hi guys. I have a problem with my sprite rendering system using DirectX 9. Whenever I try to draw (render, blit, whatever) a sprite using my LPD3DXSPRITE sprite interface, the sprite is blurred (blended, whatever). I suppose this is some obscure setting, and I'd like to get rid of it, if possible. Is there a way to do this? --ProgrammerZ EDIT: I noticed that the sprite is stretched about 25% in both directions, which probably accounts for the blurring. Is there a way to stop the stretching? [Edited by - ProgrammerZ on September 20, 2008 3:18:21 PM]
Advertisement
Show us some code, like how you're doing the rendering, which flags you pass to the Sprite, and any other calls you might be making (SetTransform, etc).
Sirob Yes.» - status: Work-O-Rama.
Oh, sorry. I actually found the problem after I posted this thread. I just wasn't using image dimensions that were powers of 2.
Thanks anyway!

This topic is closed to new replies.

Advertisement