diff --git a/GRAPHICS/DisableOcclusionThisFrame.md b/GRAPHICS/DisableOcclusionThisFrame.md index 9b82dd75d..fa46be11d 100644 --- a/GRAPHICS/DisableOcclusionThisFrame.md +++ b/GRAPHICS/DisableOcclusionThisFrame.md @@ -9,4 +9,15 @@ aliases: ["0x3669F1B198DCAA4F"] void DISABLE_OCCLUSION_THIS_FRAME(); ``` +This disables all occluders that cause the 'flickering' rendering under the map and inside buildings with no interiors, note that this may impact performance on lower end systems. +## Examples +```lua +-- Example thread that has to run every frame +Citizen.CreateThread(function() + while true do + DisableOcclusionThisFrame() + Citizen.Wait(0) + end +end) +```