Skip to content
Snippets Groups Projects

Fix holes in FOF due to culling

Merged Hanicef requested to merge Hanicef/SRB2Classic:fix-fof-holes-culling into next

When culling on FOFs were fixed in !1399 (merged), it unfortunately was checking the wrong bottom and top values, using the camera as the depth instead of it's own sector. The result is that it tried to cull the wrong sector, causing culled FOFs to sometimes not render if the camera was in another sector.

This patch fixes this by simply adjusting the input values to use it's own sector instead of the camera's.

Fixes #1308 (closed)

Merge request reports

Pipeline #6058 passed

Pipeline passed for 1fad5e05 on Hanicef:fix-fof-holes-culling

Approval is optional

Merged by LactozillaLactozilla 5 months ago (Nov 12, 2024 1:09am UTC)

Merge details

Pipeline #6131 passed

Pipeline passed for a4bf68bb on next

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading