ITexture and IVideoDriver::draw2DImage 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
Gatts
Posts: 4
Joined: Sat Jan 03, 2009 8:18 am

ITexture and IVideoDriver::draw2DImage Texture Filtering

Post by Gatts »

Hi guys,

I've created my own bitmap font class using ITexture and IVideoDriver::draw2DImage which loads a sheet font image and parses an xml file with character details.

My bitmap fonts have the ability to be scaled down and up, but i've noticed that any ITexture rendered with IVideoDriver::draw2DImage doesn't have any bilinear or trilinear filtering so my fonts are sharp and don't look smooth.

I've searched extensively and couldn't find a way of enabling filtering without editing the Irrlicht source directly.

Any help is greatly appreciated!

Thanks,
Gatts
Post Reply