GFXVolumetric Fog
gfx.volumetric_fog.set_gi_inject
Client
The GI injection amount to be set for the volumetric fog post-processing effect
Syntax
local status = gfx.volumetric_fog.set_gi_inject(value)Parameters
| Type | Name | Description |
|---|---|---|
float | value | GI inject value to be applied Controls how much global illumination light is injected into the volumetric fog. Higher values make the fog respond to and carry indirect light throughout the scene |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, or false on failure |
Examples
--Allow GI to illuminate the fog volume
gfx.volumetric_fog.set_gi_inject(1.0)