Skip to content

Commit

Permalink
Document issue when using clipped SDF generators and modifiers smooth…
Browse files Browse the repository at this point in the history
…ness
  • Loading branch information
Zylann committed Jun 12, 2024
1 parent 1111df3 commit 30d6b73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/classes/VoxelModifier.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<member name="operation" type="int" setter="set_operation" getter="get_operation" enum="VoxelModifier.Operation" default="0">
</member>
<member name="smoothness" type="float" setter="set_smoothness" getter="get_smoothness" default="0.0">
Increasing this value makes the shape "merge" with its surroundings across a more or less large distance.
Note, it assumes the base generator produces consistent gradients. This is not always the case. Notably, it is a common optimization for generators to avoid calculating gradients beyond a certain distance from surfaces. If smoothness is too large, or if the generator's cutoff distance is too low, it can lead to gaps in the resulting mesh, usually at chunk boundaries.
</member>
</members>
<constants>
Expand Down

0 comments on commit 30d6b73

Please sign in to comment.