Setting texture (sample?) quality

Started by
1 comment, last by gnmgrl 9 years, 2 months ago

Well met!

When I load a texture from a file (using D3DX11CreateShaderResourceViewFromFileA) and display the result on a screen-sized rectangle, the final image does have a lower visual quality than the original image (rendertarget and texture same resolution ofc). For textures on model etc. that might not be visible, but it certainly is for interface-elements.

Therefore my question is:

How do I control texture-quality in dx11? Using load-info, the samplerstate, or something else? Does the fileFormat make any difference?

Thank you for your time!

Advertisement

try out a couple different sampler description filters:

https://msdn.microsoft.com/en-us/library/windows/desktop/ff476132(v=vs.85).aspx

I went down the list, starting at the top. the further you go down the list, the better quality it should be. i don't remember what i used off the top of my head when i was having that issue, but it was one of the minimum filters i think

Thanks, that is exactly what I needed!

This topic is closed to new replies.

Advertisement