Sign in to follow this  
Aptexan

Blury texture after loading the model from .X file

Recommended Posts

Aptexan    122
I am very new to XNA (however little experience in DirectX) and so here is my sily question. SDK: XNA 2.0 I load a .X file using the Content Pipeline. The model is loaded correctly. However the loaded texture is blury. Few things I tried: * Tried playing with the mesh.effects's AmbientLight and other properties in Draw override function. * Disabled the default lighting. * RenderState's Ambient light is set to full (255,255,255) How could this problem be fixed? Thanks Aptexan

Share this post


Link to post
Share on other sites
Aptexan    122
Well thanks for your responses.
Actually I have figured out a workaround(may be this is not the right way to do).
When I set the SamplersState[0].MipmapsLevelOfDetails to -1 the image is sharp
It is blurry when the value is zero. So this has fixed my problem.
Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this