gfx.sky.physical.set_rayleigh_coefficient
Client
Sets the Rayleigh scattering coefficient of the physical sky material
Syntax
local status = gfx.sky.physical.set_rayleigh_coefficient(
value
)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Rayleigh scattering coefficient to apply |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
gfx.sky.physical.set_rayleigh_coefficient(2.0)