antialiasing/interp o with jit.gl.texture

wk's icon

Hello list,

I`m wondering if it is possible to get a rid of antialiasing in
jit.gl.texture (which i guess is on by default),
this is similar to "interp" attribute on jit.gl.videoplane, but neither
this nor "antialias 0" makes any difference
to jit.gl.texture (as well as changing dim of the texture)

Any ideas?

Thanks,
Wojciech

Joshua Kit Clayton's icon

@filter nearest

This is "nearest neighbor" rather than the default "linear"
interpolation.

-Joshua