17 lines
939 B
Markdown
17 lines
939 B
Markdown
|
# Performance Tips
|
||
|
|
||
|
* Disable VSync and set threading to `Single Safe` in the project settings. Terrain building and editing performs significnatly faster with these settings.
|
||
|
|
||
|
* Excessive noise height will kill your performance, use with care. A height range of 300 can run at 300-400fps on a GTX1060, but a range of 6-10,000 might run at 30-40fps. Hopefully this will be addressed when occlusion culling and other features are available in Godot 4.
|
||
|
|
||
|
* Lower shadow distance. I might use 200-400 on a GTX1060, but maybe 20 or disabled on an integrated card.
|
||
|
|
||
|
* Optimize and simplify your shaders. In the fps_demo, there are two grass-rock shaders. The second version randomizes the tiling of texture maps so there is no obvious repeating pattern. It only requires two extra texture lookups, but it pretty much halves my frame rate from around 300 to 150 or less.
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
---
|
||
|
* [Next Page](08_api-overview.md)
|
||
|
* [Doc Index](01_get-started.md)
|