Skip to content

Reapply GPU-driven HLOD evaluation, using the new HLOD view origin.#24343

Merged
alice-i-cecile merged 2 commits into
bevyengine:mainfrom
pcwalton:unrevert-gpu-driven-hlod
May 19, 2026
Merged

Reapply GPU-driven HLOD evaluation, using the new HLOD view origin.#24343
alice-i-cecile merged 2 commits into
bevyengine:mainfrom
pcwalton:unrevert-gpu-driven-hlod

Conversation

@pcwalton
Copy link
Copy Markdown
Contributor

@pcwalton pcwalton commented May 18, 2026

This PR undoes the revert of #23115 that was done in #24252. As part of doing so, it makes GPU-driven visibility range evaluation use the same semantics, introduced in #24289, as CPU-driven visibility range evaluation.

The first commit in this PR is the un-revert, and the second commit is the change to use the new machinery #24289. This means that you can simply review the second commit (which is very short).

To test, run the visibility_range example with --no-cpu-culling, and use the WASD keys to move behind the flight helmet and zoom out, while closely watching the shadow. Note that the shadow now properly reflects the LOD of the model.

pcwalton added 2 commits May 18, 2026 12:00
This makes GPU-driven visibility range evaluation use the same
semantics, introduced in bevyengine#24289, as CPU-driven visibility range
evaluation.

To test, run the `visibility_range` example with `--no-cpu-culling`, and
use the WASD keys to move behind the flight helmet and zoom out, while
closely watching the shadow. Note that the shadow now properly reflects
the LOD of the model.
@pcwalton pcwalton requested review from JMS55 and alice-i-cecile May 18, 2026 19:04
@pcwalton pcwalton added the A-Rendering Drawing game state to the screen label May 18, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in Rendering May 18, 2026
@pcwalton pcwalton added C-Feature A new feature, making something new possible C-Performance A change motivated by improving speed, memory usage or compile times labels May 18, 2026
@pcwalton pcwalton added this to the 0.19 milestone May 18, 2026
@kfc35 kfc35 added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label May 18, 2026
@alice-i-cecile alice-i-cecile added this pull request to the merge queue May 19, 2026
Merged via the queue into bevyengine:main with commit a0baf1a May 19, 2026
47 checks passed
@github-project-automation github-project-automation Bot moved this from Needs SME Triage to Done in Rendering May 19, 2026
mockersf pushed a commit to mockersf/bevy that referenced this pull request May 21, 2026
…evyengine#24343)

This PR undoes the revert of bevyengine#23115 that was done in bevyengine#24252. As part of
doing so, it makes GPU-driven visibility range evaluation use the same
semantics, introduced in bevyengine#24289, as CPU-driven visibility range
evaluation.

The first commit in this PR is the un-revert, and the second commit is
the change to use the new machinery bevyengine#24289. This means that you can
simply review the second commit (which is very short).

To test, run the `visibility_range` example with `--no-cpu-culling`, and
use the WASD keys to move behind the flight helmet and zoom out, while
closely watching the shadow. Note that the shadow now properly reflects
the LOD of the model.
mockersf pushed a commit that referenced this pull request May 21, 2026
…24343)

This PR undoes the revert of #23115 that was done in #24252. As part of
doing so, it makes GPU-driven visibility range evaluation use the same
semantics, introduced in #24289, as CPU-driven visibility range
evaluation.

The first commit in this PR is the un-revert, and the second commit is
the change to use the new machinery #24289. This means that you can
simply review the second commit (which is very short).

To test, run the `visibility_range` example with `--no-cpu-culling`, and
use the WASD keys to move behind the flight helmet and zoom out, while
closely watching the shadow. Note that the shadow now properly reflects
the LOD of the model.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Rendering Drawing game state to the screen C-Feature A new feature, making something new possible C-Performance A change motivated by improving speed, memory usage or compile times S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants