diff options
author | Daniel Rakos <daniel.rakos@rastergrid.com> | 2019-04-23 11:36:36 +0200 |
---|---|---|
committer | Daniel Rakos <daniel.rakos@rastergrid.com> | 2019-04-23 11:36:36 +0200 |
commit | de33ef2d1b94c1d3acc1cfa708665c99d0d0bb43 (patch) | |
tree | 83dd80102a1f9aca89d68f3ce4165807c447a27f /doc | |
parent | 4b6327fb302cff5998bf3d3405a645d02bddb42a (diff) |
Disable GI probe capturing lights with bake mode disabled
The bake mode property of lights previously didn't affect GI probes.
This change makes the GI probe ignore lights that have their bake mode
set to disabled.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/VisualServer.xml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/classes/VisualServer.xml b/doc/classes/VisualServer.xml index 26a6bae48c..8ae3767ae3 100644 --- a/doc/classes/VisualServer.xml +++ b/doc/classes/VisualServer.xml @@ -1986,6 +1986,17 @@ <description> </description> </method> + <method name="light_set_use_gi"> + <return type="void"> + </return> + <argument index="0" name="light" type="RID"> + </argument> + <argument index="1" name="enabled" type="bool"> + </argument> + <description> + Sets whether GI probes capture light information from this light. + </description> + </method> <method name="light_set_color"> <return type="void"> </return> |