Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello, Question Regarding DX9 Texture Filtering! #1669

Closed
ClaudiuHKS opened this issue Mar 7, 2018 · 4 comments
Closed

Hello, Question Regarding DX9 Texture Filtering! #1669

ClaudiuHKS opened this issue Mar 7, 2018 · 4 comments

Comments

@ClaudiuHKS
Copy link
Contributor

Hi!

I have changed D3DTEXF_LINEAR to D3DTEXF_ANISOTROPIC, will this make a difference? I am just curious, I want the highest quality ever for my DX9 application!

@imgui_impl_dx9.cpp

    g_pd3dDevice->SetSamplerState(0, D3DSAMP_MINFILTER, D3DTEXF_ANISOTROPIC);
    g_pd3dDevice->SetSamplerState(0, D3DSAMP_MAGFILTER, D3DTEXF_ANISOTROPIC);
@ClaudiuHKS
Copy link
Contributor Author

ClaudiuHKS commented Mar 7, 2018

Or defining STBTT_MAX_OVERSAMPLE to 128 (default = 8), will this help too? Thanks!

@dpethes
Copy link

dpethes commented Mar 7, 2018

Anisotropic won't make any difference; it improves sampling on textures that are rendered on surfaces that are tilted/at an angle to the screen. Imgui doesn't do that.

@ocornut
Copy link
Owner

ocornut commented Mar 7, 2018

Neither would make a difference.
I am closing this under the law of Sorry but #1586 to save myself and everyone time.

@ocornut ocornut closed this as completed Mar 7, 2018
@MMOForum
Copy link

MMOForum commented Mar 9, 2023

Hi bro
Ekran_Alnts
Help me dx9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants