Important Culling Fixes (#666)

* Culling fix

Precison of half fov horizontal being equal to or above 2 leads to many issues. using 1.5 would break rt64 and other emulators with ultra widescreen.
Vertical culling will be disabled by default until 3.0

* Improved emu checks and naming

* Comment changes

* Small typo fix
This commit is contained in:
Lilaa3
2023-09-18 15:18:35 +01:00
committed by GitHub
parent c3f300be9f
commit 44b48ffacd
2 changed files with 18 additions and 18 deletions

View File

@@ -129,14 +129,16 @@
/**
* Limits the horizontal fov on emulator like on console. May break viewport widescreen hacks.
* May break viewport widescreen hacks.
* When this is disabled, the culling will only be skipped according to the NO_CULLING_EMULATOR_BLACKLIST.
*/
// #define HORIZONTAL_CULLING_ON_EMULATOR
// #define CULLING_ON_EMULATOR
/**
* Makes objects bellow the screen be culled.
* Makes objects below the screen be culled.
* NOTE: Vanilla objects do not account for vertical culling.
*/
#define VERTICAL_CULLING
// #define VERTICAL_CULLING
/**
* If the first command of an object´s geolayout is not GEO_CULLING_RADIUS, DEFAULT_CULLING_RADIUS