Skip to content

Commit

Permalink
Merge pull request #54677 from Calinou/voxelgi-default-low-quality
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga authored Feb 10, 2022
2 parents c6199da + 91aa7cf commit 7332aff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/classes/ProjectSettings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1702,7 +1702,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>
Expand Down
2 changes: 1 addition & 1 deletion servers/rendering/renderer_rd/renderer_scene_gi_rd.h
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ class RendererSceneGIRD {
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 */

Expand Down
2 changes: 1 addition & 1 deletion servers/rendering_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2872,7 +2872,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);
Expand Down

0 comments on commit 7332aff

Please sign in to comment.