Skip to content

Commit

Permalink
Tweak HydraulicParticle node parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
otto-link committed Jan 11, 2025
1 parent f7649fa commit 118f269
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Hesiod/src/model/nodes/nodes_function/hydraulic_particle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,8 @@ void compute_hydraulic_particle_node(BaseNode *p_node)
hmap::Array mask = hmap::maximum_smooth(*pa_erosion_map,
*pa_deposition_map,
0.05f);
hmap::gpu::smooth_cpulse(mask, 4);
mask = hmap::pow(mask, 0.5f);
hmap::gpu::smooth_cpulse(mask, 2);
hmap::gpu::smooth_cpulse(*pa_out, 32, &mask);
},
hmap::TransformMode::SINGLE_ARRAY);
Expand Down

0 comments on commit 118f269

Please sign in to comment.