Posted: 25th Aug 2011 22:09
Is it possible to prevent image smoothing?

I am hoping to create a pixelated game; I have set my virtual res rather low, and my window size pretty large. But when the virtual view stretches to fill the window it has smoothing applied to it, is there anyway to turn this off?

I'm using Tier 2 (C++).

Thanks,
Liam Goodacre.
Posted: 26th Aug 2011 1:23
Setting the virtual resolution low will not impact visual quality, but you can use low res images for your sprites and turn off image filtering using SetImageMinFilter and SetImageMagFilter to 0. That will make the images pixelated instead of smoothed.
Posted: 26th Aug 2011 1:27
Thanks man, exactly what I wanted.

Cheers,
Liam Goodacre.