Skip to content

Add render_layers scene to testbed_3d#23559

Merged
alice-i-cecile merged 2 commits intobevyengine:mainfrom
IceSentry:testbed_3d_render_layers
Mar 29, 2026
Merged

Add render_layers scene to testbed_3d#23559
alice-i-cecile merged 2 commits intobevyengine:mainfrom
IceSentry:testbed_3d_render_layers

Conversation

@IceSentry
Copy link
Copy Markdown
Contributor

Objective

  • RenderLayers are easy to break and so is multiple viewport support

Solution

  • Add a new scene to testbed_3d that shows multiple cameras at the same time all with different combinations of render layers

Testing

  • I ran the example locally and toggled between all the scenes

Showcase

testbed_3d_KmHPJ8pweU

As you can see, this already highlights a bug with shadows not respecting render layers

@IceSentry IceSentry added A-Rendering Drawing game state to the screen C-Testing A change that impacts how we test Bevy or how users test their apps S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Mar 28, 2026
@github-project-automation github-project-automation bot moved this to Needs SME Triage in Rendering Mar 28, 2026
@kristoff3r kristoff3r added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Mar 29, 2026
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Mar 29, 2026
Merged via the queue into bevyengine:main with commit 2589ed2 Mar 29, 2026
47 checks passed
@github-project-automation github-project-automation bot moved this from Needs SME Triage to Done in Rendering Mar 29, 2026
splo pushed a commit to splo/bevy that referenced this pull request Mar 31, 2026
# Objective

- RenderLayers are easy to break and so is multiple viewport support

## Solution

- Add a new scene to testbed_3d that shows multiple cameras at the same
time all with different combinations of render layers

## Testing

- I ran the example locally and toggled between all the scenes

---

## Showcase

<img width="1282" height="752" alt="testbed_3d_KmHPJ8pweU"
src="https://github.com/user-attachments/assets/dad376f3-fd72-424d-b68d-7048843da179"
/>

As you can see, this already highlights a bug with shadows not
respecting render layers
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-Testing A change that impacts how we test Bevy or how users test their apps 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