Fusseldieb Active Member Licensed User Longtime User Nov 14, 2014 #1 Hello, I want to make a 8-Bit-Like LWP and to save space, I need to disable the intepolating on small images when stretched. Is there's any way to disable the interpolating to show the pixels of the stretched image? Thanks in advance
Hello, I want to make a 8-Bit-Like LWP and to save space, I need to disable the intepolating on small images when stretched. Is there's any way to disable the interpolating to show the pixels of the stretched image? Thanks in advance
Fusseldieb Active Member Licensed User Longtime User Nov 15, 2014 #2 I have searched all over the nternet and found nothing that could help. If there's no way to do this, is there a way to "draw" pixel per pixel or is this wsting ressources? Upvote 0
I have searched all over the nternet and found nothing that could help. If there's no way to do this, is there a way to "draw" pixel per pixel or is this wsting ressources?
Erel B4X founder Staff member Licensed User Longtime User Nov 16, 2014 #3 You should draw rectangles not pixels. Upvote 0
Fusseldieb Active Member Licensed User Longtime User Nov 16, 2014 #4 And how I draw the entire image made of rectangles? Upvote 0
Informatix Expert Licensed User Longtime User Nov 17, 2014 #6 The pixelated aspect can be kept by disabling the linear filter when the image is reduced. You can do this easily with the libGDX lib. You just have to set the texture filter to Nearest. It's shown in the Filters demo of the library. If you want to simulate a low resolution screen, it's a bit more complicated. You have to use a shader combined to a mipmap chain. It's demonstrated in a demo of the SpecialFX plugin for libGDX. Upvote 0
The pixelated aspect can be kept by disabling the linear filter when the image is reduced. You can do this easily with the libGDX lib. You just have to set the texture filter to Nearest. It's shown in the Filters demo of the library. If you want to simulate a low resolution screen, it's a bit more complicated. You have to use a shader combined to a mipmap chain. It's demonstrated in a demo of the SpecialFX plugin for libGDX.