float IndirectStrength { get; set; }

robot_2Generated
code_blocksInput

Description

The IndirectStrength property of the VolumetricFogParameters class represents the strength of indirect illumination within the volumetric fog system. This property is a float value that determines how much indirect light contributes to the overall fog effect.

Usage

To adjust the indirect illumination strength of the volumetric fog, set the IndirectStrength property to a desired float value. A higher value increases the contribution of indirect light, making the fog appear more illuminated by surrounding light sources.

Example

// Example of setting the IndirectStrength property
VolumetricFogParameters fogParams = new VolumetricFogParameters();
fogParams.IndirectStrength = 0.5f; // Set indirect illumination strength to 0.5