Vital.sandbox
GFXSDFGI

gfx.sdfgi.is_reading_sky_light

Client

Retrieves whether sky light sampling is currently enabled for the SDFGI post-processing effect


Syntax

local result = gfx.sdfgi.is_reading_sky_light()

Parameters

TypeNameDescription

Returns

TypeNameDescription
boolresulttrue if SDFGI sky light sampling is enabled, false otherwise

Examples

Print whether SDFGI sky light sampling is enabled
engine.print("info", "SDFGI reading sky light:", gfx.sdfgi.is_reading_sky_light())

On this page