Author Topic: Nearest Neighbor filtering (OpenGL)  (Read 604 times)

Offline C3R14L.K1L4

  • int
  • **
  • Posts: 54
    • View Profile
    • CK's place of many works
Nearest Neighbor filtering (OpenGL)
« on: January 11, 2016, 02:14:13 am »
Greetings,

I'm doing an oldskool platformer and I wish to use Nearest Neighbor filtering with the textures. How can I set this up?

Best regards,
CK

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11777
    • View Profile
    • http://www.jpct.net
Re: Nearest Neighbor filtering (OpenGL)
« Reply #1 on: January 11, 2016, 09:30:30 am »
It can be done per texture: http://www.jpct.net/doc/com/threed/jpct/Texture.html#setGLFiltering(boolean) (setFiltering() for jPCT-AE).