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

Namespaces

namespace  hmap

Functions

Array hmap::valley_head (glm::ivec2 shape, float angle=0.f, float min_depth=0.f, float max_depth=0.2f, float min_width=0.02f, float max_width=0.15f, float depth_length=0.5f, float width_length=0.5f, float development_power=2.f, float profile_power=1.3f, const Array *p_noise_offset=nullptr, const Array *p_noise_r=nullptr, glm::vec2 center={0.5f, 0.5f}, const UvRect &uv_rect=UvRect::unit(), Array *p_mask=nullptr)
 Generate a procedural natural valley head / valley incision deformation heightmap.