Hey guys,
I tried searching for this but was unable to find any answer.
Does anyone know if it is possible to get anisotropic texture filtering in Maya's viewport with HLSL shaders? I just started out learning coding HLSL shaders and I cannot get it working. Could this be a limitation in Maya or am I doing something wrong?
I'm following Ben's CG Academy DVDs.
Replies
sampler2D diffuseMapSampler = sampler_state { Texture = <diffuseMap>; MinFilter = Anisotropic; MagFilter = Linear; MipFilter = Linear; AddressU = Wrap; AddressV = Wrap; MaxAnisotropy = 8; MipMapLodBias = -0.5; };Works just fine. Haven't seen a difference with the MipMapLodBias parameter, but I haven't had that much time to try it out yet.