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?

  • \$\begingroup\$ 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/… \$\endgroup\$ – Nate Jan 31 '12 at 19:47
  • \$\begingroup\$ same result on my phone and emulator @ 100%. will read thru the 16bit thingy \$\endgroup\$ – Jason94 Jan 31 '12 at 19:52
  • \$\begingroup\$ @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 :( \$\endgroup\$ – Jason94 Jan 31 '12 at 19:59
  • 1
    \$\begingroup\$ The fix will come out later supposibly. For now, all you can do is work with 16bit colors instead of 32. \$\endgroup\$ – jgallant Jan 31 '12 at 20:38
  • \$\begingroup\$ @Jon Are u serious? That means no larger textures with a gradient will look nice at all on WP7? Im shocked... really. \$\endgroup\$ – Jason94 Jan 31 '12 at 20:48


graphics.PreferredBackBufferFormat = SurfaceFormat.Color;

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

| 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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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