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

Namespaces

namespace  hmap
 

Functions

Array hmap::blend_exclusion (const Array &array1, const Array &array2)
 Return the 'exclusion' blending of two arrays.
 
Array hmap::blend_gradients (const Array &array1, const Array &array2, int ir=4)
 Return the blending of two arrays based on their gradients.
 
Array hmap::blend_negate (const Array &array1, const Array &array2)
 Return the 'negate' blending of two arrays.
 
Array hmap::blend_overlay (const Array &array1, const Array &array2)
 Return the 'overlay' blending of two arrays.
 
Array hmap::blend_soft (const Array &array1, const Array &array2)
 Return the 'soft' blending of two arrays.
 
Array hmap::mixer (const Array &t, const std::vector< const Array * > &arrays, float gain_factor=1.f)
 Return the mixing of a set of arrays based on a parameter t.