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.

I've just downloaded Gamestate code from create.msdn.com, and as you can see from the image below: image

The result is less smooth then the image imported to visual studio, how do I increase the quality?

share|improve this question
    
Are you running your emulator in scaled mode? Try putting it at 100%. The other thing may be due to colors. This also may be part of the NoDo 16bit color banding issue: 1800pocketpc.com/… –  Nate Jan 31 '12 at 19:47
    
same result on my phone and emulator @ 100%. will read thru the 16bit thingy –  Jason94 Jan 31 '12 at 19:52
    
@Nate Boss read thru the 16bit NoDo thingy. First off: its no do, not recommendet. Second: i get this bug on my emulator, isnt that silly? Really breaks ALL my development, so i need a fix :( –  Jason94 Jan 31 '12 at 19:59
1  
The fix will come out later supposibly. For now, all you can do is work with 16bit colors instead of 32. –  Jon Jan 31 '12 at 20:38
    
@Jon Are u serious? That means no larger textures with a gradient will look nice at all on WP7? Im shocked... really. –  Jason94 Jan 31 '12 at 20:48

2 Answers 2

Set

graphics.PreferredBackBufferFormat = SurfaceFormat.Color;

in your Game constructor. XNA sets the backbuffer to SurfaceFormat.Bgr565 (16 bit) by default.

share|improve this answer

You should be able to get a better looking gradient by dithering the source image down to 565.

A quick search found this Photoshop plugin that will do it, and some instructions for doing it with ImageMagick.

share|improve this answer

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.