diff options
author | clayjohn <claynjohn@gmail.com> | 2022-02-17 23:13:32 -0800 |
---|---|---|
committer | clayjohn <claynjohn@gmail.com> | 2022-02-17 23:13:32 -0800 |
commit | 63cb91e05cd51fe484c3fc6367658d1ac26972fe (patch) | |
tree | 1603bc42ddfc5cc70028b50ba341cbbaa39c62bc /scene/resources | |
parent | e0384fb70e2fb9bed4317910cb2a58e51b0efd43 (diff) |
Revert "Default to real-time radiance map filter for environment sky reflections"
This reverts commit 09563e4bd8fa4dda8802b3b48f111f3c1de499d8.
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/sky.cpp | 2 | ||||
-rw-r--r-- | scene/resources/sky.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/sky.cpp b/scene/resources/sky.cpp index 917aa40934..9cb6a16f5c 100644 --- a/scene/resources/sky.cpp +++ b/scene/resources/sky.cpp @@ -83,7 +83,7 @@ void Sky::_bind_methods() { ClassDB::bind_method(D_METHOD("get_material"), &Sky::get_material); ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "sky_material", PROPERTY_HINT_RESOURCE_TYPE, "ShaderMaterial,PanoramaSkyMaterial,ProceduralSkyMaterial,PhysicalSkyMaterial"), "set_material", "get_material"); - ADD_PROPERTY(PropertyInfo(Variant::INT, "process_mode", PROPERTY_HINT_ENUM, "Automatic,High Quality (Slow),High Quality Incremental (Average),Real-Time (Fast)"), "set_process_mode", "get_process_mode"); + ADD_PROPERTY(PropertyInfo(Variant::INT, "process_mode", PROPERTY_HINT_ENUM, "Automatic,HighQuality,HighQualityIncremental,RealTime"), "set_process_mode", "get_process_mode"); ADD_PROPERTY(PropertyInfo(Variant::INT, "radiance_size", PROPERTY_HINT_ENUM, "32,64,128,256,512,1024,2048"), "set_radiance_size", "get_radiance_size"); BIND_ENUM_CONSTANT(RADIANCE_SIZE_32); diff --git a/scene/resources/sky.h b/scene/resources/sky.h index 3653568ac6..5e52239032 100644 --- a/scene/resources/sky.h +++ b/scene/resources/sky.h @@ -59,7 +59,7 @@ public: private: RID sky; - ProcessMode mode = PROCESS_MODE_REALTIME; + ProcessMode mode = PROCESS_MODE_AUTOMATIC; RadianceSize radiance_size = RADIANCE_SIZE_256; Ref<Material> sky_material; |