GTAO

gfx.gtao.set_mip_offset

Client

Sets the depth MIP sampling offset of the GTAO post-processing effect

Syntax

local status = gfx.gtao.set_mip_offset(
    value
)

Parameters

TypeNameDescription
floatvalueOffset value to apply
Higher values sample sharper depth detail at a higher cost, lower values are faster and softer. Values are clamped to 0.0 - 30.0

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Sample sharper depth detail
gfx.gtao.set_mip_offset(3.3)

On this page