Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions GRAPHICS/DisableOcclusionThisFrame.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
```
Loading