diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-17 12:13:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-17 12:13:37 +0200 |
commit | d64fc0c11442b17a2d81edb3a3042d9a34b6621e (patch) | |
tree | b238f39a30311435a80d730c8bc099e25e9abe2a /servers/rendering_server.cpp | |
parent | 4379383ccd7828a94bdc0e4c6692826f2e4ec2ec (diff) | |
parent | 9b61c855ef00e14925cfdf8a5d61f854c51d92f4 (diff) |
Merge pull request #61101 from clayjohn/GLES3-3D
Diffstat (limited to 'servers/rendering_server.cpp')
-rw-r--r-- | servers/rendering_server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/rendering_server.cpp b/servers/rendering_server.cpp index fc40f058aa..766ca88e34 100644 --- a/servers/rendering_server.cpp +++ b/servers/rendering_server.cpp @@ -3006,8 +3006,8 @@ RenderingServer::RenderingServer() { // OpenGL limits GLOBAL_DEF_RST("rendering/limits/opengl/max_renderable_elements", 65536); ProjectSettings::get_singleton()->set_custom_property_info("rendering/limits/opengl/max_renderable_elements", PropertyInfo(Variant::INT, "rendering/limits/opengl/max_renderable_elements", PROPERTY_HINT_RANGE, "1024,65536,1")); - GLOBAL_DEF_RST("rendering/limits/opengl/max_renderable_lights", 256); - ProjectSettings::get_singleton()->set_custom_property_info("rendering/limits/opengl/max_renderable_lights", PropertyInfo(Variant::INT, "rendering/limits/opengl/max_renderable_lights", PROPERTY_HINT_RANGE, "16,4096,1")); + GLOBAL_DEF_RST("rendering/limits/opengl/max_renderable_lights", 32); + ProjectSettings::get_singleton()->set_custom_property_info("rendering/limits/opengl/max_renderable_lights", PropertyInfo(Variant::INT, "rendering/limits/opengl/max_renderable_lights", PROPERTY_HINT_RANGE, "2,256,1")); GLOBAL_DEF_RST("rendering/limits/opengl/max_lights_per_object", 8); ProjectSettings::get_singleton()->set_custom_property_info("rendering/limits/opengl/max_lights_per_object", PropertyInfo(Variant::INT, "rendering/limits/opengl/max_lights_per_object", PROPERTY_HINT_RANGE, "2,1024,1")); |