gfx.sky.physical.set_night_sky

Client

Sets the night sky texture of the physical sky material


Syntax

local status = gfx.sky.physical.set_night_sky(
    path
)

Parameters

TypeNameDescription
stringpathFile path of the night sky texture to assign

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set physical sky night sky texture
gfx.sky.physical.set_night_sky("assets/sky/night.png")

On this page