You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Compute SSAO at half resolution by default
This provides a significant speedup for a small quality loss. The quality loss is generally more noticeable during a project's early stages of development (e.g. in level blockouts) than it is in a finished project.
This commit is contained in:
@@ -2896,8 +2896,7 @@ RenderingServer::RenderingServer() {
|
||||
|
||||
GLOBAL_DEF("rendering/environment/ssao/quality", 2);
|
||||
ProjectSettings::get_singleton()->set_custom_property_info("rendering/environment/ssao/quality", PropertyInfo(Variant::INT, "rendering/environment/ssao/quality", PROPERTY_HINT_ENUM, "Very Low (Fast),Low (Fast),Medium (Average),High (Slow),Ultra (Custom)"));
|
||||
GLOBAL_DEF("rendering/environment/ssao/half_size", false);
|
||||
GLOBAL_DEF("rendering/environment/ssao/half_size.mobile", true);
|
||||
GLOBAL_DEF("rendering/environment/ssao/half_size", true);
|
||||
GLOBAL_DEF("rendering/environment/ssao/adaptive_target", 0.5);
|
||||
ProjectSettings::get_singleton()->set_custom_property_info("rendering/environment/ssao/adaptive_target", PropertyInfo(Variant::FLOAT, "rendering/environment/ssao/adaptive_target", PROPERTY_HINT_RANGE, "0.0,1.0,0.01"));
|
||||
GLOBAL_DEF("rendering/environment/ssao/blur_passes", 2);
|
||||
|
||||
Reference in New Issue
Block a user