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

Namespaces

namespace  hmap
 
namespace  hmap::gpu
 

Functions

Array hmap::gpu::advection_warp (const Array &z, const Array &advected_field, const Array &dx, const Array &dy, float advection_length=0.1f, float value_persistence=0.9f, const Array *p_mask=nullptr)
 
Array hmap::gpu::advection_warp (const Array &z, const Array &advected_field, float advection_length=0.1f, float value_persistence=0.9f, const Array *p_mask=nullptr)
 Performs 2D field advection based on the gradient of a heightmap using a warp-based technic (simplified approach).