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);
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 );