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

Namespaces

namespace  hmap
 
namespace  hmap::gpu
 

Functions

Array hmap::gpu::select_soil_flow (const Array &z, int ir_gradient=1, float gradient_weight=1.f, float gradient_scaling_factor=0.f, float flow_weight=0.05f, float talus_ref=0.f, float clipping_ratio=50.f, float flow_gamma=1.f, float k_smooth=0.01f)
 Computes a soil–flow selection map based on terrain gradient, river mask, and smoothing parameters.