Skip to content

Adaptive rendering - #1783

Merged
nstlaurent merged 35 commits into
devfrom
adaptive-rendering
Sep 11, 2026
Merged

nstlaurent merged 35 commits into
devfrom
adaptive-rendering

Conversation

@nstlaurent

Copy link
Copy Markdown
Collaborator

Adds render mode option for adaptive rendering. Includes straight BSP as an option as well.

Uses the BSP traversal for timing and heuristics to determine when BSP would be beneficial over static and automatically switches. This is largely beneficial to slower iGPUs that struggle with large amounts of geometry and texture changes/draws. This allows for the renderer to occlude using the BSP when it's fast so the rest of the level can be occluded. When the heuristics detect it would be too slow / too much to render it will automatically be switched to static. The heuristic thresholds can all be modified under render.adaptive.

# Conflicts:
#	Core/Render/OpenGL/Renderers/Legacy/World/LegacyWorldRenderer.cs
…ve checks to individual upper/middle/lower functions since parts to fix broken cache invalidation
# Conflicts:
#	RELEASENOTES.md
@nstlaurent
nstlaurent merged commit eaafc65 into dev Sep 11, 2026
1 check passed
@nstlaurent
nstlaurent deleted the adaptive-rendering branch September 11, 2026 16:41
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.

1 participant