float IndirectStrength { get; set; }

book_4_sparkGenerated
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 will increase the influence of indirect lighting, 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 the indirect illumination strength to 0.5