You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Decrease the default number of SDFGI cascades to 4
This improves rendering performance noticeably, especially when the camera moves fast. On a medium-sized test scene on a GTX 1080 in 2560×1440, going from 6 to cascades saves 0.5 ms of frame time while looking visually identical (as most of the scene fits within the 4 cascades).
This commit is contained in:
@@ -135,7 +135,7 @@ public:
|
||||
|
||||
/// SDFGI
|
||||
bool sdfgi_enabled = false;
|
||||
int sdfgi_cascades = 6;
|
||||
int sdfgi_cascades = 4;
|
||||
float sdfgi_min_cell_size = 0.2;
|
||||
bool sdfgi_use_occlusion = false;
|
||||
float sdfgi_bounce_feedback = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user