Unravel Engine C++ Reference
Loading...
Searching...
No Matches
atmospheric_pass_perez.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  unravel
 
namespace  unravel::ANONYMOUS
 

Macros

#define ANONYMOUS   anonymous
 

Functions

void unravel::compute_perez_luminance (const math::vec3 &light_direction, math::vec3 &out_sky_luminance_rgb, math::vec3 &out_sun_luminance_rgb)
 Computes Perez sky and sun luminance from light direction (time-of-day). Uses the same tables as the atmospheric pass for consistency.
 
void unravel::compute_irradiance_perez_params (const math::vec3 &light_direction, float turbidity, irradiance_perez_params &out)
 

Macro Definition Documentation

◆ ANONYMOUS

#define ANONYMOUS   anonymous

Definition at line 15 of file atmospheric_pass_perez.cpp.