gfx.glow.get_map

Client

Retrieves the path of the currently active glow map on the glow post-processing effect


Syntax

local result = gfx.glow.get_map()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
string | boolresultPath of the active glow map, false if no glow map is currently applied

Examples

Retrieve currently active glow map
local map = gfx.glow.get_map()

if map then
    core.engine.print("info", "Active glow map:", map)
else
    core.engine.print("info", "No glow map is currently applied")
end

On this page