mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-05 19:31:04 +00:00
Rename perlin noise to value noise (#15858)
This commit is contained in:
parent
372e37faf2
commit
78293404c7
27 changed files with 339 additions and 309 deletions
|
@ -474,7 +474,7 @@ void Clouds::readSettings()
|
|||
bool Clouds::gridFilled(int x, int y) const
|
||||
{
|
||||
float cloud_size_noise = cloud_size / (BS * 200.f);
|
||||
float noise = noise2d_perlin(
|
||||
float noise = noise2d_fractal(
|
||||
(float)x * cloud_size_noise,
|
||||
(float)y * cloud_size_noise,
|
||||
m_seed, 3, 0.5);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue