godotengine / godotengine/godot
FastNoiseLite fractal_octaves hint is too small
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
4.5.1
### System information
Godot v4.5.1.stable - Windows 11 (build 26200) - Multi-window, 2 monitors - OpenGL 3 (Compatibility) - NVIDIA T1000 8GB (NVIDIA; 32.0.15.7344) - Intel(R) Core(TM) i7-14700 (28 threads) - 15.69 GiB memory
### Issue description
At the moment, the hint restriction on fractal_octaves in fastnoise_list.cpp is [1, 10]. This is a pretty low number and makes it difficult to use the noise class to do things like map generation. This hint should be expanded to have a bigger upper limit, or even be removed all together.
I'd suggest having a new upper limit of 24, but would also support just removing the hint.
This goes for the domain_warp_fractal_octaves hint limit too.
### Steps to reproduce
Create a new FastNoiseLite node. Try to set fractal_octaves to something bigger than 10. It will be clamped at 10.
### Minimal reproduction project (MRP)
N/A
Contributor guide
Research direction
Open fastnoise_list.cpp and inspect the hint restrictions for fractal_octaves and domain_warp_fractal_octaves. Reproduce the clamp by creating a FastNoiseLite node and setting fractal_octaves above 10. Done means both properties accept the agreed larger range or no upper hint restriction, with the behavior verified in Godot.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100