diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-11-06 19:39:19 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-11-06 19:40:52 +0100 |
commit | 91aa7cf1dacefc8f7ac9dff745684ace281d2e71 (patch) | |
tree | d84a9d2f6c13bdec7094f1a16f4103e4b836e099 /servers/rendering/renderer_rd/renderer_scene_gi_rd.h | |
parent | 4651b2ae5ca0ed01fb7ff863fbb2e503bf277c84 (diff) |
Decrease the default VoxelGI quality to improve performance
On a GeForce GTX 1080 in 2002×1447 resolution, decreasing VoxelGI quality
from High to Low quality saves 1.2 ms of GPU time in a medium-sized
test scene. This only results in a minor drop in quality.
Diffstat (limited to 'servers/rendering/renderer_rd/renderer_scene_gi_rd.h')
-rw-r--r-- | servers/rendering/renderer_rd/renderer_scene_gi_rd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_rd/renderer_scene_gi_rd.h b/servers/rendering/renderer_rd/renderer_scene_gi_rd.h index 9f6fc8a9b7..8cad2305f3 100644 --- a/servers/rendering/renderer_rd/renderer_scene_gi_rd.h +++ b/servers/rendering/renderer_rd/renderer_scene_gi_rd.h @@ -392,7 +392,7 @@ public: return voxel_gi->texture; }; - RS::VoxelGIQuality voxel_gi_quality = RS::VOXEL_GI_QUALITY_HIGH; + RS::VoxelGIQuality voxel_gi_quality = RS::VOXEL_GI_QUALITY_LOW; /* SDFGI */ |