Original Post
Hi,
I am currently encountering a strange problem while porting my XNA application to DX9. The terrain textures appear blurred. The shader takes 2 textures (shore and high ground, both 1024*1024 px, *.dds filetype and pre-generated mipmaps) and fades between them. The base colors are visible, but the details get blurred out. I expect some flags, render states or other settings are missing, which are enabled by default in XNA, but that's just my assumption....
http://img130.images.../3013/texdy.jpg
Texture Loading Code
Shader Texture Sampler
I tested several different settings (filter settings in device and shader...), but it is hard to find the problem because my knowledge is not that wide.
Cheers, Malmodir
I am currently encountering a strange problem while porting my XNA application to DX9. The terrain textures appear blurred. The shader takes 2 textures (shore and high ground, both 1024*1024 px, *.dds filetype and pre-generated mipmaps) and fades between them. The base colors are visible, but the details get blurred out. I expect some flags, render states or other settings are missing, which are enabled by default in XNA, but that's just my assumption....
http://img130.images.../3013/texdy.jpg
Texture Loading Code
D3DXCreateTextureFromFile(device, options.TextureLowAsset, &texlow);Shader Texture Sampler
MinFilter = Linear;
MagFilter = Linear;
MipFilter = Linear;
AddressU = Wrap;
AddressV = Wrap;I tested several different settings (filter settings in device and shader...), but it is hard to find the problem because my knowledge is not that wide.
Cheers, Malmodir