Under water fog

Underwater graphics with Irrlicht. To see the effect:

1. Set fog to the driver:

m_Driver->setFog(video::SColor(0,72,209,204), EFT_FOG_EXP, 0, 1000, 0.5, true, false);

2. Enable fog on underwater materials:

material.FogEnable = true;

About Tatyana

Senior Software Engineer developing all kinds of stuff.
This entry was posted in coding, pictures, screenshots, terrain and tagged , , , , . Bookmark the permalink.