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.
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.