According to the irrlicht source, both Material.BilinearFilter and Material.TrilinearFilter must be set to FALSE, for the textures to be rendered with GL_NEAREST to be set for texture filtering.
Unfortunately that did not work for me.
Here is the image from RenderMonkey where I render Noise on a sphere with GL_NEAREST NOT set.
http://vanzine.org/download/noisysphere.GIF
There you can see rectangular artifacts. They disappear as soon as I set GL_NEAREST for texture filtering.
Recently I tried same noise in irrlicht.
http://vanzine.org/download/raw_no_gl_nearest.jpg
Even though I set the texture filtering, the artifacts are not going away.
Here is code:
Code: Select all
...
Material.BilinearFilter = false;
Material.TrilinearFilter = false;
...
Please help!
Thanks,
yv