Rise
The Vieneo Province
Loading...
Searching...
No Matches
LocalLightning Namespace Reference

Classes

struct  Frame

Functions

float Radiance (float pulse)
float BoltVisibility (float pulse, float distanceKm, float visibilityKm)
Frame 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 PeakRadiance =12.f

Function Documentation

◆ BoltVisibility()

float LocalLightning::BoltVisibility ( float pulse,
float distanceKm,
float visibilityKm )
inline

Definition at line 16 of file LocalLightning.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Build()

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 )
inline

Definition at line 29 of file LocalLightning.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Radiance()

float LocalLightning::Radiance ( float pulse)
inline

Definition at line 12 of file LocalLightning.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ PeakRadiance

float LocalLightning::PeakRadiance =12.f
inlineconstexpr

Definition at line 11 of file LocalLightning.h.