HighMap library (C++)
Loading...
Searching...
No Matches
snow_mantle.cpp File Reference

Namespaces

namespace  hmap
namespace  hmap::gpu

Functions

Array hmap::gpu::snow_mantle (const Array &z, float strength=0.1f, float snowline=0.5f, float falloff=0.1f, int prefilter_ir=8, float talus_coverage=0.8f, float talus_threshold=0.001f, float directional=0.f, float wind_direction=0.f, float peaks=0.2f, float melt=0.f, float sun_azimuth=180.f, float sun_zenith=45.f, int thermal_iterations=15, float thermal_talus=0.15f, float coverage=0.5f, const Array *p_existing_snow=nullptr, const Array *p_mask=nullptr, const Array *p_noise=nullptr)
 Generates fine-scale snow mantle accumulation over terrain.