diff options
author | clayjohn <claynjohn@gmail.com> | 2022-09-16 09:16:10 -0700 |
---|---|---|
committer | clayjohn <claynjohn@gmail.com> | 2022-09-16 09:18:11 -0700 |
commit | 2ecc8b9a73e48507da9eab0850f38f03d9908929 (patch) | |
tree | cddbbd15c403831fa06d377c7919a72cab618bfc /doc/classes | |
parent | d39d462907a11f310e7a15c63659bf0a2d528008 (diff) |
Restore fog in vulkan mobile renderer.
The condition accidentally disabled fog whenever it was enabled
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/Environment.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/Environment.xml b/doc/classes/Environment.xml index 695f2cbc66..e0863ae329 100644 --- a/doc/classes/Environment.xml +++ b/doc/classes/Environment.xml @@ -311,6 +311,7 @@ </member> <member name="volumetric_fog_enabled" type="bool" setter="set_volumetric_fog_enabled" getter="is_volumetric_fog_enabled" default="false"> Enables the volumetric fog effect. Volumetric fog uses a screen-aligned froxel buffer to calculate accurate volumetric scattering in the short to medium range. Volumetric fog interacts with [FogVolume]s and lights to calculate localized and global fog. Volumetric fog uses a PBR single-scattering model based on extinction, scattering, and emission which it exposes to users as density, albedo, and emission. + [b]Note:[/b] Volumetric fog is only available in the forward plus renderer. It is not available in the mobile renderer or the compatibility renderer. </member> <member name="volumetric_fog_gi_inject" type="float" setter="set_volumetric_fog_gi_inject" getter="get_volumetric_fog_gi_inject" default="1.0"> Scales the strength of Global Illumination used in the volumetric fog. A value of [code]0.0[/code] means that Global Illumination will not impact the volumetric fog. |