fredsa / playn

Cross platform game library for N≥4 platforms
0 stars 1 forks source link

all PixelArt bluring #216

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,
i'm making pixel art game on PlayN engine, and I noticed what tiny pixelart 
looks like a shit, there is no strict boundaries and everything is bluring.

Is it possible to disable this default blur for all layers?!
[http://i50.tinypic.com/2ylmrn4.png]

Original issue reported on code.google.com by 7221...@gmail.com on 8 Sep 2012 at 10:30

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
solved using this:

graphics().ctx().setTextureFilter(GLContext.Filter.NEAREST, 
GLContext.Filter.NEAREST);

Original comment by 7221...@gmail.com on 8 Sep 2012 at 10:59