mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-05-23 17:21:18 +00:00
The existing draw distance options don't actually increase the draw distance. It only impacts whether or not distant objects are rendered. This PR: - Adds another option to the draw distance setting in the display menu, called "Infinite". It is not truly infinite, but it is significantly larger than what current options allow. Due to it not being truly infinite, we could use the name "Max" instead to be more accurate. - Exposes a new function to the Lua API `draw_distance_scalar_is_infinite` which returns whether or not the infinite setting is enabled. - `draw_distance_scalar_is_infinite` is now used in several places in this repo to bypass distance checks for objects if infinite mode is enabled. - Fixes a bug where you couldn't bypass the distance check in `obj_is_in_view`, meaning you could never disable all object distance culling. - The infinite setting now forces the far plane to be at least a minimum of `1,000,000`. |
||
|---|---|---|
| .. | ||
| examples | ||
| guides | ||
| constants.md | ||
| functions-2.md | ||
| functions-3.md | ||
| functions-4.md | ||
| functions-5.md | ||
| functions-6.md | ||
| functions-7.md | ||
| functions.md | ||
| globals.md | ||
| lua.md | ||
| structs.md | ||