Textures problem - low res

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
radubolovan
Posts: 60
Joined: Tue Nov 13, 2007 7:03 pm
Location: Bucharest - Romania
Contact:

Textures problem - low res

Post by radubolovan »

I have a problem with textures ... here is my code:

Code: Select all

driver->setTextureCreationFlag( video::ETCF_CREATE_MIP_MAPS, false );
smgr->addSkyBoxSceneNode( driver->getTexture( m_szSkyBox[0] ), driver->getTexture( m_szSkyBox[1] ), driver->getTexture( m_szSkyBox[2] ), driver->getTexture( m_szSkyBox[3] ), driver->getTexture( m_szSkyBox[4] ), driver->getTexture( m_szSkyBox[5] ) );
driver->setTextureCreationFlag(video::ETCF_CREATE_MIP_MAPS, true);
here is a snapsot: http://www.darkstarlinux.ro/~radubolova ... nap008.png

What have I done wrong?

I use Linux & OpenGL
All textures are 512x512 pixels - jpgs
I also tryied with pngs and textures from irrlicht example (irrlicht2_up.jpg & co)

Here is another snapshot: http://www.darkstarlinux.ro/~radubolova ... nap009.png

And here is how I initialize the driver:

Code: Select all

device = createDevice( video::EDT_OPENGL, dimension2d<s32>( 800, 600 ), 32, false, true, true, NULL );
Please help and thanks!
datamagik
Posts: 26
Joined: Wed Feb 14, 2007 11:25 pm
Location: Bar Harbor, Maine USA

Post by datamagik »

What is your screen depth? It looks like you have screen depth set to 16 bits so it's dithering colors.
radubolovan
Posts: 60
Joined: Tue Nov 13, 2007 7:03 pm
Location: Bucharest - Romania
Contact:

Post by radubolovan »

Fixed the screen depth set to 32 bits and it's working! :) Thank you!
Post Reply