Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The edges of my model are not rendered smooth in xna. See here. What can i do for this, as when designer renders the same model in maya, edges are smooth. And is it possible to render models in xna which provide same results as Vray pugin renders in maya or max.

share|improve this question

What you're looking for is called anti-aliasing. Set PreferMultiSampling to true in your Game class constructor:

graphics.PreferMultiSampling = true;

You can change the level of anti-aliasing by setting the appropriate MultiSampleType, for example:

graphics.GraphicsDevice.PresentationParameters.MultiSampleType = 
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.