Disabling texture filtering

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
N.K.
Posts: 9
Joined: Sat Nov 06, 2010 12:42 pm

Disabling texture filtering

Post by N.K. »

Hello all. Sorry for my lameness again. The sollution may be so simple, but I can't figure out.

Based on the code from the "LoadIrrFile" example, I've created a simple program to show a level loaded from an .irr file. I would like everything to look pixelated, just like the old DOS games, so I want to turn off all kind of texture filtering.

I've managed to turn off filtering by editing the XML mesh files, and setting all filtering values to false.

But is there a way to code it to the app, so I don't have to edit all the mesh files one by one?

And maybe just me, but it seems that even the filtering is disabled, the engine is still using some kind of LOD system for the textures, or at least, they just looked kinda smooth, compared to what they look like in the old software rendered games.

Thanks in advance,
Lonesome Ducky
Competition winner
Posts: 1123
Joined: Sun Jun 10, 2007 11:14 pm

Post by Lonesome Ducky »

You can get the list of scene nodes from the scene manager, then loop through the list and turn off filtering through every node.
Post Reply