Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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
add comment

1 Answer

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 = 
   MultiSampleType.SixteenSamples;
share|improve this answer
add comment

Your Answer

 
discard

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.