• Advertisement

Archived

This topic is now archived and is closed to further replies.

Texture filterers...

This topic is 5554 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''ve seen in Unreal Tournament and Half-life, that when using the Direct3D renderer, the textures are smoothed out. How can I enable this? Code would be wonderful The past was unknown, the future was predicted.

Share this post


Link to post
Share on other sites
Advertisement
hi

i think it''s

m_pDevice->SetTextureStageState(0, D3DTSS_MINFILTER,
D3DTEXF_LINEAR);
m_pDevice->SetTextureStageState(0, D3DTSS_MAGFILTER,
D3DTEXF_LINEAR);

so if you have really small textures and you scaled it, use that,

Share this post


Link to post
Share on other sites
Thanks for that, it now works.

The past was unknown, the future was predicted.

Share this post


Link to post
Share on other sites

  • Advertisement