-
Notifications
You must be signed in to change notification settings - Fork 218
The VoxLap engine, which is used by the original Ace of Spades, implements the fog as the linear blending (without gamma correction) between the base color and the fog color. The blending factor is calculated using the following equation, where D
represents the fog distance and x
and x_e
represents the location of an object and the camera respectively:
TODO: volumetric rendering equation, approximation used by OpenSpades, and gamma correction
This wiki is in the middle of an update process to match the latest changes of OpenSpades 0.1.2
It may contain outdated, incorrect or incomplete information.
Please contact the repository owner (@yvt) via email or ask a question in the issue tracker if there is any obscure information you are looking for that can't be found in neither the source code nor in this wiki.