Skip to content

Conversation

@querielo
Copy link
Contributor

The concept is similar to what's described here: #31453

Copilot AI review requested due to automatic review settings July 20, 2025 15:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR optimizes the GTAOPass visibility caching mechanism by replacing a Map data structure with an array to improve performance during visibility state management. The change focuses on reducing overhead when temporarily hiding specific object types (points, lines) during rendering.

  • Replaces Map-based visibility cache with array-based storage
  • Modifies cache population to only store objects that need visibility changes
  • Updates restoration logic to use simple array iteration instead of scene traversal

@Mugen87 Mugen87 added this to the r179 milestone Jul 20, 2025
@Mugen87 Mugen87 merged commit 8e3fd3c into mrdoob:dev Jul 20, 2025
8 checks passed
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