GTAO

gfx.gtao.get_mip_offset

Client

Retrieves the current depth MIP sampling offset of the GTAO post-processing effect

Syntax

local result = gfx.gtao.get_mip_offset()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatresultCurrent depth MIP sampling offset value

Examples

Get the current gtao depth MIP sampling offset
core.engine.print("info", "GTAO depth MIP sampling offset:", gfx.gtao.get_mip_offset())

On this page