gfx.sky.set_radiance_size

Client

Sets the radiance cubemap size of the sky


Syntax

local status = gfx.sky.set_radiance_size(
    size
)

Parameters

TypeNameDescription
gfx.sky.radiance_sizesizeRadiance size to apply

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Set sky radiance size to 128
gfx.sky.set_radiance_size(gfx.sky.radiance_size.SIZE_128)

On this page