summaryrefslogtreecommitdiffstats
path: root/servers/rendering_server.cpp
diff options
context:
space:
mode:
authorLunarisnia <r.arswendo.r@gmail.com>2023-10-15 12:18:13 +0700
committerLunarisnia <r.arswendo.r@gmail.com>2023-10-15 12:18:13 +0700
commit28f7a62ae4ec07dd60ec95ed5a0ef6b20e606903 (patch)
treee1a9dca9a2e046041cfbe0ab6b83c2c9343edd2a /servers/rendering_server.cpp
parenta574c0296b38d5f786f249b12e6251e562c528cc (diff)
downloadredot-engine-28f7a62ae4ec07dd60ec95ed5a0ef6b20e606903.tar.gz
Fix disabling depth prepass breaks opaque material
Diffstat (limited to 'servers/rendering_server.cpp')
-rw-r--r--servers/rendering_server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/rendering_server.cpp b/servers/rendering_server.cpp
index 137cbfa861..ccddaae131 100644
--- a/servers/rendering_server.cpp
+++ b/servers/rendering_server.cpp
@@ -3375,8 +3375,8 @@ void RenderingServer::init() {
GLOBAL_DEF("rendering/shading/overrides/force_lambert_over_burley", false);
GLOBAL_DEF("rendering/shading/overrides/force_lambert_over_burley.mobile", true);
- GLOBAL_DEF("rendering/driver/depth_prepass/enable", true);
- GLOBAL_DEF("rendering/driver/depth_prepass/disable_for_vendors", "PowerVR,Mali,Adreno,Apple");
+ GLOBAL_DEF_RST("rendering/driver/depth_prepass/enable", true);
+ GLOBAL_DEF_RST("rendering/driver/depth_prepass/disable_for_vendors", "PowerVR,Mali,Adreno,Apple");
GLOBAL_DEF_RST("rendering/textures/default_filters/use_nearest_mipmap_filter", false);
GLOBAL_DEF_RST(PropertyInfo(Variant::INT, "rendering/textures/default_filters/anisotropic_filtering_level", PROPERTY_HINT_ENUM, String::utf8("Disabled (Fastest),2× (Faster),4× (Fast),8× (Average),16× (Slow)")), 2);