mtl_specBump with mipmap please

Posted By: alibaba

mtl_specBump with mipmap please - 08/13/10 20:38

Hello, is it possible to get the normalmap shader with mipmap support? because it looks so ugly from far away(actually not that far away only a small distance).
Posted By: mpde

Re: mtl_specBump with mipmap please - 08/13/10 20:58

du brauchtst bloss in der "specBump.fx" folgendes ändern:

sampler sBaseTex = sampler_state { Texture = <entSkin1>; MipFilter = Linear;};
sampler sSkin2 = sampler_state { Texture = <entSkin2>; MipFilter = None;};<<<-NONE zu Linear
sampler sSkin3 = sampler_state { Texture = <entSkin3>; MipFilter = None;};

you need only the "specBump.fx" change the following:

sampler sBaseTex = sampler_state { Texture = <entSkin1>; MipFilter = Linear;};
sampler sSkin2 = sampler_state { Texture = <entSkin2>; MipFilter = None;};<<<-NONE to Linear
sampler sSkin3 = sampler_state { Texture = <entSkin3>; MipFilter = None;};

mpde
Posted By: alibaba

Re: mtl_specBump with mipmap please - 08/13/10 21:33

Wenn das jetzt klappt ne dann küss ich dir die Füße über Internet grin
Posted By: alibaba

Re: mtl_specBump with mipmap please - 08/13/10 22:30

Hmm... Nee bekomme irgendwelche artefakte.



Posted By: mpde

Re: mtl_specBump with mipmap please - 08/25/10 15:27

auf den bildern sieht es so aus als wenn du keine modelle nutzt sondern levelblocks

dann muss das so:

sampler sBaseTex = sampler_state { Texture = <entSkin1>; MipFilter = Linear; };
sampler sSkin2 = sampler_state { Texture = <entSkin2>; MipFilter = NONE };
sampler sSkin3 = sampler_state { Texture = <entSkin3>; MipFilter = /*NONE*/Linear; }; <<<-NONE zu Linear
Posted By: jcl

Re: mtl_specBump with mipmap please - 09/06/10 09:12

Ok, we'll modify the shaders for mipmaps.
© 2024 lite-C Forums