Sky Boxes

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
Gezmo P
Posts: 16
Joined: Sun Mar 28, 2004 10:01 am
Location: London, UK

Sky Boxes

Post by Gezmo P »

Hello All.

I was reading through previous posts regarding skyboxes in Irrlicht, and managed to implement one. However, I was keen to optimise it (it displays seams and looks a bit naff)

A previous post http://irrlicht.sourceforge.net/phpBB2/ ... php?t=2349
mentions setting a texture flag to optimise the textures to 32-bit, but I cannot find anywhere in the documentation or other posts on how to actually achieve this.

My code is so far simply :
smgr->addSkyBoxSceneNode(driver->getTexture("top.bmp"),driver->getTexture("bottom.bmp"),driver->getTexture("left.bmp"),driver->getTexture("right.bmp"),driver->getTexture("front.bmp"),driver->getTexture("back.bmp"));

Any assistance would be greatly appreciated.
"DIIIIIIIIIIIIVVVVVVVVVVVVEEEEEEEEEEEEEEE"
Guest

texture creation flag

Post by Guest »

driver->setTextureCreationFlag(ETCF_ALWAYS_32_BIT ,true);
Gezmo P
Posts: 16
Joined: Sun Mar 28, 2004 10:01 am
Location: London, UK

Thanks!

Post by Gezmo P »

Thank you muchly!
"DIIIIIIIIIIIIVVVVVVVVVVVVEEEEEEEEEEEEEEE"
Post Reply