Cloud Rendering Options

struct simul::clouds::CloudRenderingOptions

This controls the rendering of clouds.

Public Members

float HighDetailProportion

For cloud volume update rate.

float MediumDetailProportion

For medium cloud volume update rate.

int MaximumCubemapResolution

Resolution to draw full-detail cloud buffers.

float RenderGridXKm

Minimum grid width for raytracing.

float RenderGridZKm

Minimum grid height for raytracing.

RenderingMode RaytraceMode

Hint for the renderer on how to raytrace these clouds.

float DirectLight

The amount of direct light to be used for rendering.

float IndirectLight

The amount of indirect or secondary light to be used for rendering.

float AmbientLight

The amount of ambient light to be used for rendering.

float Extinction

The amount of light scattered per metre - larger values produce darker clouds, default 0.05.

float MieAsymmetry

Mie scattering eccentricity.

float MinimumStarPixelSize

Smallest pixel width to use drawing stars.

float StarBrightness

Brightness multiplier for stars.

float CosmicBackgroundBrightness

Brightness multiplier for cosmic background.

int MaximumStarMagnitude

Largest magnitude of star to draw. Larger magnitudes are dimmer.

enum simul::clouds::RenderingMode

Values:

enumerator STANDARD_RENDERING
enumerator SIMPLIFIED_RENDERING
enumerator VARIABLE_STEP_GRID
enumerator SIMPLIFIED_CONSISTENT_RENDERING
enum simul::clouds::LightingMode

Values:

enumerator STANDARD_LIGHTING
enumerator INCREMENTAL_LIGHTING
enumerator GPU_RAYTRACE_LIGHTING
enum simul::clouds::VolumeUpdateMode

Values:

enumerator NEVER
enumerator SMOOTH
enumerator FULL
enumerator LAYERS