Circular fog?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
dart_theg
Posts: 53
Joined: Sun Dec 29, 2024 3:13 am

Circular fog?

Post by dart_theg »

Irrlicht fog by default is like a plane, and if you stand still in an environment and just turn your mouse to look around, previously foggy areas become clearer. How can I make the fog circular around the player?
CuteAlien
Admin
Posts: 9926
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Circular fog?

Post by CuteAlien »

Last parameter in setFog I think (rangeFog). Set this to true.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply