summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-01-07 00:05:43 +0100
committerGitHub <noreply@github.com>2022-01-07 00:05:43 +0100
commit9e9726213251b42283994e231919458ddcf1c982 (patch)
tree1738d3d0d32fe2b710ca80904323740df92c0021 /servers
parent4deb55956bb18d23f416677d173bb9f15b6b4fec (diff)
parentbf339842a530e4e21beb395b9b4eea97c9578e0e (diff)
Merge pull request #56170 from Calinou/renderingserver-expose-gi-half-resolution
Diffstat (limited to 'servers')
-rw-r--r--servers/rendering_server.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/servers/rendering_server.cpp b/servers/rendering_server.cpp
index 41841d241c..a94f70e20f 100644
--- a/servers/rendering_server.cpp
+++ b/servers/rendering_server.cpp
@@ -2000,6 +2000,10 @@ void RenderingServer::_bind_methods() {
BIND_ENUM_CONSTANT(DECAL_FILTER_LINEAR_MIPMAPS);
BIND_ENUM_CONSTANT(DECAL_FILTER_LINEAR_MIPMAPS_ANISOTROPIC);
+ /* GI API (affects VoxelGI and SDFGI) */
+
+ ClassDB::bind_method(D_METHOD("gi_set_use_half_resolution", "half_resolution"), &RenderingServer::gi_set_use_half_resolution);
+
/* VOXEL GI API */
ClassDB::bind_method(D_METHOD("voxel_gi_create"), &RenderingServer::voxel_gi_create);