Quick questions about anisotropic filtering Hey everyone, I've got a few quick questions about my D3D9 sampler state in HLSL. I'm specifically looking at Anisotropic filtering, and was wondering if this is the correct way to do it? sampler TerrainTextureSampler = sampler_state { texture = ; magfilter = ANISOTROPIC; minfilter = ANISOTROPIC; mipfilter = LINEAR; AddressU = Wrap; AddressV = Wrap; }; Should I set all three filters to ANISOTROPIC, or should it just be the first two? Also, what happens if I don't set MaxAnisotropy? Does it default to the maximum value that the hardware can handle? I'm not setting it right now, and from what I can tell in-game the anisotropic filtering is still working. Thanks very much! https://ift.tt/eA8V8J
Hey everyone, I've got a few quick questions about my D3D9 sampler state in HLSL. I'm specifically looking at Anisotropic filtering, and was wondering if this is the correct way to do it? sampler TerrainTextureSampler = sampler_state { texture = <TerrainTexture>; magfilter = ANISOTROPIC; minfilter = ANISOTROPIC; mipfilter = LINEAR; AddressU = Wrap; AddressV = Wrap; }; Should I set all three filters to ANISOTROPIC, or should it just be the first two? Also, what happens if I don't set MaxAnisotropy? Does it default to the maximum value that the hardware can handle? I'm not setting it right now, and from what I can tell in-game the anisotropic filtering is still working. Thanks very much!
from GameDev.net https://ift.tt/2o5P9ue
from GameDev.net https://ift.tt/2o5P9ue
ليست هناك تعليقات