Volumetric fog?

Blitz3D Forums/Blitz3D Programming/Volumetric fog?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Made several updates to this, a newer version is in the code archives here. Working on turning the fog into a more controlable function for easy inclusion in other projects.

Will end up with the ability to alter the fog in real time.
goals:
-Allow for color change on the fly
-Easy range control ( one function to set min and max range )
-Layer control to set how many layers and at what opacity for each layer
-SkySphere switching to turn a given layer into a skysphere with entityorder set and sky texture applied.
-Seperate texturing option for each layer
-Use types to contol layers
-single command to initialize a simple fog system
-Function call to manipulate all aspects of the fog.