Skip to content
Snippets Groups Projects

Optimize sprite rendering by ignoring completely occluded sprites

Merged Lactozilla requested to merge sprite-clip-optimization into next

SRB2 is ridiculous about rendering sprites. If it clips a sprite and makes it completely hidden, it's still sorted and drawn as if it were visible. Notice how I'm facing a wall, and it's still rendering hundreds of sprites.

srb20609

With the optimization, none of these are rendered. They can't be seen, so they no longer exist.

srb20610

Edited by Lactozilla

Merge request reports

Loading
Loading

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
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading