Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::atmospheric_pass_perez::run_params Struct Reference

#include <atmospheric_pass_perez.h>

Public Attributes

math::vec3 light_direction = math::normalize(math::vec3(0.2f, -0.8f, 1.0f))
 
float turbidity = 1.9f
 
int cloud_mode = 2
 Cloud mode: 0=none, 1=flat, 2=volumetric.
 
float cloud_coverage = 0.52f
 Cloud coverage [0.0 = clear sky, 1.0 = overcast]. Controls the density threshold.
 
float cloud_base_altitude = 27500.0f
 Cloud base altitude in world units. Vol: slab bottom. Flat: projection height.
 
float cloud_top_altitude = 35000.0f
 Cloud top altitude in world units. Vol: slab top. Flat: ignored.
 
float cloud_time = 0.0f
 Accumulated elapsed time (seconds) for cloud animation.
 
float cloud_density = 1.5f
 Cloud density/opacity multiplier.
 
float cloud_absorption = 0.08f
 Beer-Lambert extinction coefficient [0.01-0.5].
 
float cloud_light_absorption = 0.10f
 Light absorption / self-shadow strength [0.01-0.5].
 
float sky_brightness = 1.0f
 Sky brightness multiplier (1.0 = neutral). Affects visible sky and irradiance.
 
float irradiance_intensity = 0.15f
 Irradiance intensity. Scales cloud ambient (sky-scattered light into clouds).
 
float cloud_vol_uv_scale = 0.00008f
 Volumetric cloud u_cloudParams3: uv scale, edge width, shape power, detail erode.
 
float cloud_vol_edge_width = 0.20f
 
float cloud_vol_shape_power = 1.12f
 
float cloud_vol_detail_erode = 0.48f
 
float cloud_vol_macro_strength = 0.36f
 Volumetric cloud u_cloudParams4: macro strength, coarse scale, base mix, sun intensity.
 
float cloud_vol_coarse_scale = 0.38f
 
float cloud_vol_base_mix = 0.45f
 
float cloud_vol_sun_intensity = 24.0f
 

Detailed Description

Definition at line 146 of file atmospheric_pass_perez.h.

Member Data Documentation

◆ cloud_absorption

float unravel::atmospheric_pass_perez::run_params::cloud_absorption = 0.08f

Beer-Lambert extinction coefficient [0.01-0.5].

Definition at line 166 of file atmospheric_pass_perez.h.

◆ cloud_base_altitude

float unravel::atmospheric_pass_perez::run_params::cloud_base_altitude = 27500.0f

Cloud base altitude in world units. Vol: slab bottom. Flat: projection height.

Definition at line 158 of file atmospheric_pass_perez.h.

◆ cloud_coverage

float unravel::atmospheric_pass_perez::run_params::cloud_coverage = 0.52f

Cloud coverage [0.0 = clear sky, 1.0 = overcast]. Controls the density threshold.

Definition at line 156 of file atmospheric_pass_perez.h.

◆ cloud_density

float unravel::atmospheric_pass_perez::run_params::cloud_density = 1.5f

Cloud density/opacity multiplier.

Definition at line 164 of file atmospheric_pass_perez.h.

◆ cloud_light_absorption

float unravel::atmospheric_pass_perez::run_params::cloud_light_absorption = 0.10f

Light absorption / self-shadow strength [0.01-0.5].

Definition at line 168 of file atmospheric_pass_perez.h.

◆ cloud_mode

int unravel::atmospheric_pass_perez::run_params::cloud_mode = 2

Cloud mode: 0=none, 1=flat, 2=volumetric.

Definition at line 154 of file atmospheric_pass_perez.h.

◆ cloud_time

float unravel::atmospheric_pass_perez::run_params::cloud_time = 0.0f

Accumulated elapsed time (seconds) for cloud animation.

Definition at line 162 of file atmospheric_pass_perez.h.

◆ cloud_top_altitude

float unravel::atmospheric_pass_perez::run_params::cloud_top_altitude = 35000.0f

Cloud top altitude in world units. Vol: slab top. Flat: ignored.

Definition at line 160 of file atmospheric_pass_perez.h.

◆ cloud_vol_base_mix

float unravel::atmospheric_pass_perez::run_params::cloud_vol_base_mix = 0.45f

Definition at line 182 of file atmospheric_pass_perez.h.

◆ cloud_vol_coarse_scale

float unravel::atmospheric_pass_perez::run_params::cloud_vol_coarse_scale = 0.38f

Definition at line 181 of file atmospheric_pass_perez.h.

◆ cloud_vol_detail_erode

float unravel::atmospheric_pass_perez::run_params::cloud_vol_detail_erode = 0.48f

Definition at line 178 of file atmospheric_pass_perez.h.

◆ cloud_vol_edge_width

float unravel::atmospheric_pass_perez::run_params::cloud_vol_edge_width = 0.20f

Definition at line 176 of file atmospheric_pass_perez.h.

◆ cloud_vol_macro_strength

float unravel::atmospheric_pass_perez::run_params::cloud_vol_macro_strength = 0.36f

Volumetric cloud u_cloudParams4: macro strength, coarse scale, base mix, sun intensity.

Definition at line 180 of file atmospheric_pass_perez.h.

◆ cloud_vol_shape_power

float unravel::atmospheric_pass_perez::run_params::cloud_vol_shape_power = 1.12f

Definition at line 177 of file atmospheric_pass_perez.h.

◆ cloud_vol_sun_intensity

float unravel::atmospheric_pass_perez::run_params::cloud_vol_sun_intensity = 24.0f

Definition at line 183 of file atmospheric_pass_perez.h.

◆ cloud_vol_uv_scale

float unravel::atmospheric_pass_perez::run_params::cloud_vol_uv_scale = 0.00008f

Volumetric cloud u_cloudParams3: uv scale, edge width, shape power, detail erode.

Definition at line 175 of file atmospheric_pass_perez.h.

◆ irradiance_intensity

float unravel::atmospheric_pass_perez::run_params::irradiance_intensity = 0.15f

Irradiance intensity. Scales cloud ambient (sky-scattered light into clouds).

Definition at line 172 of file atmospheric_pass_perez.h.

◆ light_direction

math::vec3 unravel::atmospheric_pass_perez::run_params::light_direction = math::normalize(math::vec3(0.2f, -0.8f, 1.0f))

Definition at line 148 of file atmospheric_pass_perez.h.

◆ sky_brightness

float unravel::atmospheric_pass_perez::run_params::sky_brightness = 1.0f

Sky brightness multiplier (1.0 = neutral). Affects visible sky and irradiance.

Definition at line 170 of file atmospheric_pass_perez.h.

◆ turbidity

float unravel::atmospheric_pass_perez::run_params::turbidity = 1.9f

Definition at line 151 of file atmospheric_pass_perez.h.


The documentation for this struct was generated from the following file: