Under water fog

By on August 7, 2012

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;

Comments

Be the first to comment.

Leave a Reply