Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.

Pipo DeClown

Direct3D Sprites Anti-Alias

This topic is 5840 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

Are you using ID3DXSprite? If so I haven''t found a way to do it yet. If anyone knows a way, please post it !

- master_ball

We R 138

Share this post

Link to post
Share on other sites
Remember to set all three of the filter texture states equal to D3DX_FILTER_NONE (both for shrinking and magnifying, as well as for mipmapping)

Also (assuming that you use the D3DXLoadTextureFrom* functions to load your bitmaps), set the appropriate parameters on THAT function to D3DX_FILTER_NONE.

I haven''t the foggiest whether this oughta work or not - try it out and tell us


Flareman (a.k.a Ga1adaN)
Primus ante Adain

Share this post

Link to post
Share on other sites
Guest Anonymous Poster
If you are using ID3DXSprite be sure to change the filter after BegiSprite() has bee called. Change the magfilter and the minfilter to none. This ca be done through SetRenderState in DX 8.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!