diff options
author | clayjohn <claynjohn@gmail.com> | 2022-05-16 11:56:03 -0700 |
---|---|---|
committer | clayjohn <claynjohn@gmail.com> | 2022-05-16 15:07:09 -0700 |
commit | 9b61c855ef00e14925cfdf8a5d61f854c51d92f4 (patch) | |
tree | 8f4e02ccf198e5dfd0ad2ca156549f4da3dacfbd /servers | |
parent | 23207fcfddf47f17a749c1fa8424c11769610b31 (diff) |
Add basic lighting to GLES3 renderer.
This includes all three light types and IBL, but does not include shadows or any form of GI
Diffstat (limited to 'servers')
-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")); |