Anisotropic Filtering And Mip Filter

Started by
1 comment, last by dave 15 years, 4 months ago
The documentation isn't clear on whether i am allowed to specify D3DTEXF_ANISOTROPIC for D3DSAMP_MIPFILTER with SetSamplerState. When debugging D3D tells me that it is invalid, so i checked the D3DCAPS9.RasterCaps for D3DPRASTERCAPS_ANISOTROPY and it is set. Any ideas?
Advertisement
D3DTEXF_ANISOTROPIC is almost always only valid as a min filter, and not as a mag filter. It's never valid as a mip filter - there isn't even a cap bit for that.

You need to check for:

D3DPTFILTERCAPS_MINFANISOTROPIC and D3DPTFILTERCAPS_MAGFANISOTROPIC
Yes i noticed that there was no cap bit for that.

Thanks.

This topic is closed to new replies.

Advertisement