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

No parameters are accepted by this function

Returns

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

Examples

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

On this page