gfx.vol_fog.set_ambient_inject
Client
Sets the ambient light injection amount of the volumetric fog post-processing effect
Syntax
local status = gfx.vol_fog.set_ambient_inject(
value
)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Ambient inject value to apply Controls how much ambient light is injected into the volumetric fog volume. Higher values allow the fog to be lit by the scene's ambient light, producing a softer and more naturally integrated appearance |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
gfx.vol_fog.set_ambient_inject(0.5)