Skip to content

Add Custom World Renderer and Crash Protection for 64-bit#9

Merged
Xenthio merged 2 commits into
Xenthio:masterfrom
sambow23:master
Dec 24, 2024
Merged

Add Custom World Renderer and Crash Protection for 64-bit#9
Xenthio merged 2 commits into
Xenthio:masterfrom
sambow23:master

Conversation

@sambow23

Copy link
Copy Markdown
Contributor

The crash protection is a temporary workaround for division-by-zero errors in shaderapidx9.

The custom world renderer replaces binary patches that disable engine culling. It has the same performance as those patches but has the benefits of fixing maps with too many faces being rendered. Some maps will not render correctly and you must adjust the
chunk side between 512-2048 per map. 512 seems to be a good default for most maps. This custom renderer also allows for perfectly stable geometry hashes for spawning things in the toolkit.

meant to be used with unpatched 64-bit binaries, useful for playing on the latest version of the game. Is not a final solution
Uses chunked meshes to render the world, bypasses the need for engine patches.
@Xenthio Xenthio merged commit 9fd0c74 into Xenthio:master Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants