how to disable mip-mapping?

Started by
1 comment, last by Yours3!f 12 years, 9 months ago
Hi,

I've enabled anisotropic filtering in my app, and for some reason mip-mapping got enabled as well, despite I didn't enable it.

I enabled anisotropic filtering like this:

dx_dev->SetSamplerState(0, D3DSAMP_MAGFILTER, D3DTEXF_ANISOTROPIC);
dx_dev->SetSamplerState(0, D3DSAMP_MINFILTER, D3DTEXF_ANISOTROPIC);

D3DCAPS9 caps;
dx_dev->GetDeviceCaps(&caps);
dx_dev->SetSamplerState(0, D3DSAMP_MAXANISOTROPY, caps.MaxAnisotropy);


How can I explicitly order the API to disable mip-mapping?

Best regards,
Yours3!f
Advertisement
Using anisotropic filtering implies you want mip mapping. Anisotropic filtering requires mip maps to work

Using anisotropic filtering implies you want mip mapping. Anisotropic filtering requires mip maps to work


Ok, you're right...

This topic is closed to new replies.

Advertisement