|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Struct of shader parameters representing the fog's appearance. More...
#include <GREM/graphics_3d/Fog3D.hpp>
Public Attributes | |
| vec4 | fogStartAndEndDistancesAndSkyFadeMinAndMaxAngleCosines |
| Distance from the camera's position to where visible fog starts (X) and to where it reaches its maximum density (Y), followed by the cosines of the angles from fogSkyFadeDirection at which fog starts to appear in the skybox (Z), and where it reaches its maximum density (W). | |
| vec4 | fogColorAndMaxDensity |
| Color (XYZ) and fraction of maximum density (W) reached by fog at its end distance. | |
| vec3 | fogSkyFadeDirection |
| Direction in which the fog gradually fades out to reveal the skybox (typically towards the sky). | |
Struct of shader parameters representing the fog's appearance.
| vec4 grem::graphics::Fog3D::Parameters::fogStartAndEndDistancesAndSkyFadeMinAndMaxAngleCosines |
Distance from the camera's position to where visible fog starts (X) and to where it reaches its maximum density (Y), followed by the cosines of the angles from fogSkyFadeDirection at which fog starts to appear in the skybox (Z), and where it reaches its maximum density (W).
| vec4 grem::graphics::Fog3D::Parameters::fogColorAndMaxDensity |
Color (XYZ) and fraction of maximum density (W) reached by fog at its end distance.
| vec3 grem::graphics::Fog3D::Parameters::fogSkyFadeDirection |
Direction in which the fog gradually fades out to reveal the skybox (typically towards the sky).