www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: Wolf17 on November 04, 2013, 05:04:36 pm

Title: About Pixelated Texture Display.
Post by: Wolf17 on November 04, 2013, 05:04:36 pm
    I have a pixelated texture(low res 16X16) applied to a cube . But it does not appear  pixelated  . Is there something I can do ?
Title: Re: About Pixelated Texture Display.
Post by: Wolf17 on November 04, 2013, 07:21:35 pm
 O.K I got it! Sorry for stupid posting :P !  Just saw the docs and learned to disable bilinear filtering!

Edit: Oh  no ! I tried to disable the filtering ! But it is not working !
Title: Re: About Pixelated Texture Display.
Post by: EgonOlsen on November 04, 2013, 11:25:48 pm
It should work. Make sure to it right after loading the texture.
Title: Re: About Pixelated Texture Display.
Post by: Wolf17 on November 05, 2013, 05:09:08 am
 YES! It is working! ;D

Thanks!

But I have noticed that disabling filter in emulator does not have any effect . It works on my both hardwares . But would it happen in some other real  devices (Which I won't be able  test)? I mean what factors determine the bilinear filtering such that it may be different  across various hardwares?
Title: Re: About Pixelated Texture Display.
Post by: EgonOlsen on November 05, 2013, 07:18:21 am
But would it happen in some other real  devices (Which I won't be able  test)? I mean what factors determine the bilinear filtering such that it may be different  across various hardwares?
No, it will work on all devices. The emulator is crap: http://www.jpct.net/wiki/index.php/Using_the_emulator (http://www.jpct.net/wiki/index.php/Using_the_emulator)