GE Lua Documentation

Press F to search!

onEnabled

Definition


-- @/lua/ge/client/postFx/ssao.lua:7

ssaoPostFxCallbacks.onEnabled = function()
  -- This tells the AL shaders to reload and sample
  -- from our #ssaoMask texture target.
  setConsoleVariable("$AL::UseSSAOMask", true)
  return true;
end

Callers