Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colored wireframe #8480

Closed
wants to merge 4 commits into from
Closed

Colored wireframe #8480

wants to merge 4 commits into from

Conversation

Kjolnyr
Copy link
Contributor

@Kjolnyr Kjolnyr commented Apr 24, 2023

Objective

Add the ability to draw colored wireframes to ease debugging.

Solution

  • Changed wireframe.rs in bevy_pbr to have the ability to change colors.

Migration Guide

  • Replace Wireframe with Wireframe::default() in commands when inserting a Wireframe component.

@github-actions
Copy link
Contributor

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

@alice-i-cecile alice-i-cecile added C-Feature A new feature, making something new possible A-Rendering Drawing game state to the screen labels Apr 24, 2023
@valaphee
Copy link
Contributor

valaphee commented Apr 25, 2023

Don't know if it might be better to use per-vertex color (should be @location(3) color: vec4<f32>)

@mockersf
Copy link
Member

also see #5303 and #5314

@JMS55
Copy link
Contributor

JMS55 commented Nov 23, 2023

Closing as this was resolved in #5303

@JMS55 JMS55 closed this Nov 23, 2023
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants