Sign in to follow this  
XSlinger

MipMaps in 2D

Recommended Posts

XSlinger    122
Hello, I know that mipmaps are used when drawing at different distances in 3D, but can mipmaps still be used in my 2d game? For example, if I load a texture that automatically creates a chain of mipmaps, and then I draw it later using a sprite and I have scaled the image, will DirectX automatically draw one of the mipmaps or do I have to do that manually somehow? Thanks

Share this post


Link to post
Share on other sites
D_Tr    362
And that's because mipmaps are selected according to how many texels of the original texture can fit in a single pixel. This number of texels can change with distance or with scaling of a textured triangle.

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