Skip to content

Conversation

@aevyrie
Copy link
Member

@aevyrie aevyrie commented Jan 7, 2026

Objective

  • Make it easy to peek at the depth/normals/motion/hi-z

Solution

  • Add a small crate and a plugin behind a flag

Testing

  • Robust against components, deferred, etc

Showcase

Screen.Recording.2026-01-07.at.8.41.08.PM.mp4

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2026

You added a new feature but didn't update the readme. Please run cargo run -p build-templated-pages -- update features to update it, and commit the file change.

@aevyrie
Copy link
Member Author

aevyrie commented Jan 7, 2026

This generally needs a cleanup pass, I was mostly interested if others thought this was a sensible approach for the shader and bindings. 🙂

@alice-i-cecile alice-i-cecile added C-Feature A new feature, making something new possible A-Rendering Drawing game state to the screen M-Release-Note Work that should be called out in the blog due to impact A-Dev-Tools Tools used to debug Bevy applications. S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jan 7, 2026
@alice-i-cecile alice-i-cecile added S-Waiting-on-Author The author needs to make changes or address concerns before this can be merged and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jan 7, 2026
@aevyrie

This comment was marked as outdated.

@JMS55
Copy link
Contributor

JMS55 commented Jan 8, 2026

I've wanted this for a while. I'll try to get to a review this weekend.

}
}

/// Automatically attach keybinds to make renderer debugging tools immediately available without
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't that the same comment as the handle_input system?

Copy link
Contributor

@IceSentry IceSentry left a comment

Choose a reason for hiding this comment

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

It would be cool if there was a way to render that to an intermediate texture so we could throw it in a UI node and have a bunch of those debug views in separate textures. Definitely more of a long term idea, doesn't have to be in this PR.

Other than the comment that looks copied LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Dev-Tools Tools used to debug Bevy applications. A-Rendering Drawing game state to the screen C-Feature A new feature, making something new possible M-Release-Note Work that should be called out in the blog due to impact S-Waiting-on-Author The author needs to make changes or address concerns before this can be merged

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

6 participants