Rise
The Vieneo Province
Loading...
Searching...
No Matches
LocalLightning.h File Reference
#include "../Rendering/ClientMath.h"
#include <algorithm>
#include <cmath>
Include dependency graph for LocalLightning.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LocalLightning::Frame

Namespaces

namespace  LocalLightning

Functions

float LocalLightning::Radiance (float pulse)
float LocalLightning::BoltVisibility (float pulse, float distanceKm, float visibilityKm)
Frame LocalLightning::Build (const RiseMath::Vector3 &ground, const RiseMath::Vector3 &top, const RiseMath::Vector3 &origin, const RiseMath::Vector3 &camera, const RiseMath::Color &color, float brightness, float visibilityKm, bool enabled, bool separateFog=false)

Variables

constexpr float LocalLightning::PeakRadiance =12.f