HighMap icon indicating copy to clipboard operation
HighMap copied to clipboard

Add "power law" blending

Open otto-link opened this issue 1 year ago • 0 comments

Blend two (or more) fields using a power law averaging:

$$f_\text{blend} = \frac{\sum_i f_i^{\alpha+1}}{\sum_i f_i^\alpha}$$

Blending function whose behavior varies with the bias $\alpha$ from a simple average of the heights at each node when $\alpha=0$, approaching $\max(f_i)$ (the maximum height) as $\alpha$ approaches $\infty$.

otto-link avatar Feb 10 '24 22:02 otto-link