mirror of
https://github.com/godotengine/godot.git
synced 2024-11-12 23:24:26 +00:00
Merge pull request #79922 from Auburn/cellular-jitter-fix
FastNoiseLite: Fix cellular jitter using incorrect default value
This commit is contained in:
commit
4332a798f9
@ -13,7 +13,7 @@
|
|||||||
<member name="cellular_distance_function" type="int" setter="set_cellular_distance_function" getter="get_cellular_distance_function" enum="FastNoiseLite.CellularDistanceFunction" default="0">
|
<member name="cellular_distance_function" type="int" setter="set_cellular_distance_function" getter="get_cellular_distance_function" enum="FastNoiseLite.CellularDistanceFunction" default="0">
|
||||||
Determines how the distance to the nearest/second-nearest point is computed. See [enum CellularDistanceFunction] for options.
|
Determines how the distance to the nearest/second-nearest point is computed. See [enum CellularDistanceFunction] for options.
|
||||||
</member>
|
</member>
|
||||||
<member name="cellular_jitter" type="float" setter="set_cellular_jitter" getter="get_cellular_jitter" default="0.45">
|
<member name="cellular_jitter" type="float" setter="set_cellular_jitter" getter="get_cellular_jitter" default="1.0">
|
||||||
Maximum distance a point can move off of its grid position. Set to [code]0[/code] for an even grid.
|
Maximum distance a point can move off of its grid position. Set to [code]0[/code] for an even grid.
|
||||||
</member>
|
</member>
|
||||||
<member name="cellular_return_type" type="int" setter="set_cellular_return_type" getter="get_cellular_return_type" enum="FastNoiseLite.CellularReturnType" default="1">
|
<member name="cellular_return_type" type="int" setter="set_cellular_return_type" getter="get_cellular_return_type" enum="FastNoiseLite.CellularReturnType" default="1">
|
||||||
|
@ -116,7 +116,7 @@ private:
|
|||||||
// Cellular specific.
|
// Cellular specific.
|
||||||
CellularDistanceFunction cellular_distance_function = DISTANCE_EUCLIDEAN;
|
CellularDistanceFunction cellular_distance_function = DISTANCE_EUCLIDEAN;
|
||||||
CellularReturnType cellular_return_type = RETURN_DISTANCE;
|
CellularReturnType cellular_return_type = RETURN_DISTANCE;
|
||||||
real_t cellular_jitter = 0.45;
|
real_t cellular_jitter = 1.0;
|
||||||
|
|
||||||
// Domain warp specific.
|
// Domain warp specific.
|
||||||
bool domain_warp_enabled = false;
|
bool domain_warp_enabled = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user