Skip to main content
December 15, 2010
Question

Disable auto smoothing on Android (GPU mode)

  • December 15, 2010
  • 2 replies
  • 1009 views

I am making an 8 bit style game for android, where the canvas (Bitmap) is half the size of the screen and is scaled x2.

when using gpu mode, the canvas is automatically smoothed, even if I set smoothing to false

but when using cpu mode it is not smoothed.

so is there a way to disable smoothing on gpu mode?

thanks

This topic has been closed for replies.

2 replies

Participant
May 30, 2011

This question has not been answered...

I'm rather disappointed that we don't have the control to turn this off for a number of reasons:

  1. GPU mode is faster for sprite based games
  2. Turning this off "may" improve performance which is already really good
  3. For game designs like 8bit retro, it completely ruins the graphics when they are scaled up

Can we please get control in Air 2.7 SDK?

December 29, 2010

I think while in GPU mode if your canvas/bitmap is using cacheAsBitmap = true, it will automatically smooth. not 100% on this. So i guess testing it by having removing any filters on it and cacheasbitmap = false, should yield the results you ask.