Clarify SIMPLEX and SIMPLEX_SMOOTH types

This commit is contained in:
squidgyberries 2024-10-07 19:41:18 +08:00 committed by GitHub
parent db66bd35af
commit 2bd7d8e7e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -91,10 +91,10 @@
Cellular includes both Worley noise and Voronoi diagrams which creates various regions of the same value. Cellular includes both Worley noise and Voronoi diagrams which creates various regions of the same value.
</constant> </constant>
<constant name="TYPE_SIMPLEX" value="0" enum="NoiseType"> <constant name="TYPE_SIMPLEX" value="0" enum="NoiseType">
As opposed to [constant TYPE_PERLIN], gradients exist in a simplex lattice rather than a grid lattice, avoiding directional artifacts. As opposed to [constant TYPE_PERLIN], gradients exist in a simplex lattice rather than a grid lattice, avoiding directional artifacts. Internally uses FastNoiseLite's OpenSimplex2 noise type.
</constant> </constant>
<constant name="TYPE_SIMPLEX_SMOOTH" value="1" enum="NoiseType"> <constant name="TYPE_SIMPLEX_SMOOTH" value="1" enum="NoiseType">
Modified, higher quality version of [constant TYPE_SIMPLEX], but slower. Modified, higher quality version of [constant TYPE_SIMPLEX], but slower. Internally uses FastNoiseLite's OpenSimplex2S noise type.
</constant> </constant>
<constant name="FRACTAL_NONE" value="0" enum="FractalType"> <constant name="FRACTAL_NONE" value="0" enum="FractalType">
No fractal noise. No fractal noise.