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

TypeNameDescription
floatvalueRayleigh scattering coefficient to apply

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set physical sky Rayleigh coefficient
gfx.sky.physical.set_rayleigh_coefficient(2.0)

On this page