Skip to main content
GameDev.net gamedev.net
🔒 Locked

Texture (non) filtering

Started by Zavie Mar 26, 2004 at 5:49 AM 1 replies 500+ views
Original Post
Zavie
Zavie
Hello, Let''s take an example: chess. To representant the board, I think it''s useless to define a big texture (except for a photorealistic result). A 2x2 one is enough. Thus, when using such a small texture, you have to disable the texture filtering, don''t you? That''s what I''m trying to do. And I don''t understand because I explicitly call SetTextureStageState, with D3DTSS_MAG/MIN/MIPFILTER set to D3DTEXF_POINT or D3DTEXF_NONE, and it doesn''t work. The texture IS filtered... :-( Is there anything else to do, or is this call ignored under certain conditions, or have you any idea? Regards, -- Zavie
-- Zavie
Nik02
Nik02
Some drivers have an override for the texture filter settings.
If that is the case, you cannot toggle the filters in your own application - the only thing left to do is to use a higher-resolution map.

If the problem is not about the drivers, then the steps you mentioned should switch the filtering off.

-Nik
Niko Suni
Zavie
Zavie
Thanks a lot!

I've switched an option in the card's D3D properies, and that's ok.


--
Zavie

[edited by - Zavie on March 26, 2004 9:31:18 AM]
-- Zavie

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.