Crispy Image Textures in DirectX9

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
GrafZahl
Posts: 37
Joined: Mon Oct 20, 2014 6:24 pm

Crispy Image Textures in DirectX9

Post by GrafZahl »

Hello

For some GUI testes I draw some images in 2D mode to the screen.
They are scaled down and OpenGL filter these images very nice:

Image

But in DirectX9 the same pictures are a little bit crispy:

Image

I switched on Trilinear Filtering for DirectX9 and it helps a little bit (the pictures above use Trilinear Filtering), however it is still crispy compared to OpenGL.
Switching on other filters like Bilinear and Anisotropic does not help. Also Anti-Aliasing does not help.

Is there a DirectX expert that knows those issues? Is this normal for DirectX or is there any hidden feature I need to switch on to get nicely filtered images?

Btw: I disabled MipMaps for those pictures. Since they are rendered anyway without Z-Buffer, this should not be the issue.

Best regards,
Graf Zahl
Irrlicht related projects:
Looking for a cool and easy to use GUI? Try the IrrIMGUI bindings for IMGUI: https://github.com/ZahlGraf/IrrIMGUI
Try out my Irrlicht CMake build system: https://github.com/ZahlGraf/IrrlichtCMake
Foaly
Posts: 142
Joined: Tue Apr 15, 2014 8:45 am
Location: Germany

Video driver settings?

Post by Foaly »

Sometimes it is possible to adjust the filter in the settings of your video driver.
Have you tried this on different computers? Personally, I never noticed a filtering difference in my applications between D3D9 and OpenGL.
GrafZahl
Posts: 37
Joined: Mon Oct 20, 2014 6:24 pm

Re: Crispy Image Textures in DirectX9

Post by GrafZahl »

Hi

Thanks for your suggestion. I have not looked at the driver settings so far, but I will check and also checking it on different computers is a good idea.

Best regards,
Graf Zahl
Irrlicht related projects:
Looking for a cool and easy to use GUI? Try the IrrIMGUI bindings for IMGUI: https://github.com/ZahlGraf/IrrIMGUI
Try out my Irrlicht CMake build system: https://github.com/ZahlGraf/IrrlichtCMake
Post Reply