Anisotropic Filtering And Mip Filter
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?
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
You need to check for:
D3DPTFILTERCAPS_MINFANISOTROPIC and D3DPTFILTERCAPS_MAGFANISOTROPIC
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement