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.
This commit is contained in:
parent
4651b2ae5c
commit
91aa7cf1da
3 changed files with 3 additions and 3 deletions
|
@ -1636,7 +1636,7 @@
|
|||
</member>
|
||||
<member name="rendering/global_illumination/sdfgi/probe_ray_count" type="int" setter="" getter="" default="1">
|
||||
</member>
|
||||
<member name="rendering/global_illumination/voxel_gi/quality" type="int" setter="" getter="" default="1">
|
||||
<member name="rendering/global_illumination/voxel_gi/quality" type="int" setter="" getter="" default="0">
|
||||
</member>
|
||||
<member name="rendering/lightmapping/bake_performance/max_rays_per_pass" type="int" setter="" getter="" default="32">
|
||||
</member>
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
|
@ -2861,7 +2861,7 @@ RenderingServer::RenderingServer() {
|
|||
|
||||
GLOBAL_DEF("rendering/global_illumination/gi/use_half_resolution", false);
|
||||
|
||||
GLOBAL_DEF("rendering/global_illumination/voxel_gi/quality", 1);
|
||||
GLOBAL_DEF("rendering/global_illumination/voxel_gi/quality", 0);
|
||||
ProjectSettings::get_singleton()->set_custom_property_info("rendering/global_illumination/voxel_gi/quality", PropertyInfo(Variant::INT, "rendering/global_illumination/voxel_gi/quality", PROPERTY_HINT_ENUM, "Low (4 Cones - Fast),High (6 Cones - Slow)"));
|
||||
|
||||
GLOBAL_DEF("rendering/shading/overrides/force_vertex_shading", false);
|
||||
|
|
Loading…
Reference in a new issue