Adding Fog to Skybox
Posted: Tue Jul 13, 2004 9:16 am
I am trying to add fog to a skybox using the following code:
ISceneNode* skybox = smgr->addSkyBoxSceneNode(...);
skybox->setMaterialFlag(EMF_FOG_ENABLE, true);
This method works for my terrain, but why is it not showing up on the skybox? (Also, the ... in the code is replaced with images, I took it out to ease readibility).
Thank you
ISceneNode* skybox = smgr->addSkyBoxSceneNode(...);
skybox->setMaterialFlag(EMF_FOG_ENABLE, true);
This method works for my terrain, but why is it not showing up on the skybox? (Also, the ... in the code is replaced with images, I took it out to ease readibility).
Thank you