XNA Game Development Forums
2012/05/18 06:06:24 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: Nice smooth textures  (Read 2222 times)
sajmons
Newbie
*
Offline Offline

Posts: 8


View Profile
« on: 2007/02/21 06:13:12 »

I'm a complete beginer in XNA world, so please have pation with me. At the moment I'm wandering how to make textures on my x models nice and smoth?

Here is the example of my object with texture on it. I don't like those little squares on it Wink

Thanx for your time and answers.

[attachment deleted by admin]
Logged
mikeschuld
Administrator
Sr. Member
*****
Offline Offline

Posts: 389


View Profile WWW
« Reply #1 on: 2007/02/21 07:04:26 »

You can easily apply some filtering to it in the shaders. If you set up the texture sampler with its MinFilter and MagFilter as Linear or Anisotropic it will do the scaling of the texture in a much smoother way.
Logged
sajmons
Newbie
*
Offline Offline

Posts: 8


View Profile
« Reply #2 on: 2007/02/22 05:16:24 »

Ah yes! Thank you Mike!!

The result after seting MINFILTER and MAGFILTER is exactly what I was trying to do.

Here is the example of new TextureSampler:

Code:
sampler TextureSampler = sampler_state
{
    MIPFILTER = LINEAR;
    MINFILTER = LINEAR;
    MAGFILTER = LINEAR;
};

And here is the result:

[attachment deleted by admin]
« Last Edit: 2007/02/22 06:38:42 by sajmons » Logged
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Nice XNA game video General Discussion bcronje 1 1357 Last post 2007/02/07 08:41:37
by Nemo Krad
Question about loading textures General Discussion nicknz 2 1957 Last post 2007/04/23 05:36:17
by EclipsE
BasicShader + Textures - but How? Hazy Mind XNA Engine inbreed 5 2838 Last post 2010/01/28 11:43:11
by Mikeske
modified basicshader.fx to support textures Hazy Mind XNA Engine Quadgnim 7 2546 Last post 2007/09/20 03:53:14
by Quadgnim
Nice models and free models, new site! General Discussion 3d4ya 2 3054 Last post 2010/08/03 03:05:01
by ThackeG67
Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 2.264 seconds with 19 queries.