mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Use the Light3D Indirect Energy property in SDFGI
The Indirect Energy property was previously ignored in SDFGI (unlike VoxelGI).
This commit is contained in:
@@ -47,7 +47,8 @@
|
||||
The light's strength multiplier (this is not a physical unit). For [OmniLight3D] and [SpotLight3D], changing this value will only change the light color's intensity, not the light's radius.
|
||||
</member>
|
||||
<member name="light_indirect_energy" type="float" setter="set_param" getter="get_param" default="1.0">
|
||||
Secondary multiplier used with indirect light (light bounces). Used with [VoxelGI].
|
||||
Secondary multiplier used with indirect light (light bounces). Used with [VoxelGI] and SDFGI (see [member Environment.sdfgi_enabled]).
|
||||
[b]Note:[/b] This property is ignored if [member light_energy] is equal to [code]0.0[/code], as the light won't be present at all in the GI shader.
|
||||
</member>
|
||||
<member name="light_negative" type="bool" setter="set_negative" getter="is_negative" default="false">
|
||||
If [code]true[/code], the light's effect is reversed, darkening areas and casting bright shadows.
|
||||
|
||||
Reference in New Issue
Block a user