www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: C3R14L.K1L4 on January 11, 2016, 02:14:13 am

Title: Nearest Neighbor filtering (OpenGL)
Post by: C3R14L.K1L4 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
Title: Re: Nearest Neighbor filtering (OpenGL)
Post by: EgonOlsen 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) (http://www.jpct.net/doc/com/threed/jpct/Texture.html#setGLFiltering(boolean)) (setFiltering() for jPCT-AE).