|
| void | hmap::colorize (VirtualTexture &out, VirtualArray &level, const ComputeMode &cm, float vmin, float vmax, int cmap, VirtualArray *p_alpha=nullptr, bool reverse=false, VirtualArray *p_noise=nullptr) |
| | Colorize a scalar field into a texture using a predefined colormap.
|
| |
| void | hmap::colorize (VirtualTexture &out, VirtualArray &level, const ComputeMode &cm, float vmin, float vmax, const std::vector< float > &positions, const std::vector< glm::vec3 > &colormap_colors, VirtualArray *p_alpha=nullptr, bool reverse=false, VirtualArray *p_noise=nullptr) |
| | Colorize a scalar field into a texture using a custom colormap.
|
| |
| void | hmap::luminance (VirtualArray &out, VirtualTexture &tex, const ComputeMode &cm) |
| | Compute luminance from a texture.
|
| |
| void | hmap::mix (VirtualTexture &out, VirtualTexture &tex1, VirtualTexture &tex2, const ComputeMode &cm, bool use_sqrt_avg=true) |
| | Mix two textures into an output texture.
|
| |
| void | hmap::mix (VirtualTexture &out, std::vector< VirtualTexture * > &texs, const ComputeMode &cm, bool use_sqrt_avg=true) |
| |
| void | hmap::mix_normal_map (VirtualTexture &out, VirtualTexture &nmap_base, VirtualTexture &nmap_detail, const ComputeMode &cm, float detail_scaling, NormalMapBlendingMethod blending_method) |
| | Blend two normal maps into a single output normal map.
|
| |