Skip to content

Colored wireframe#8480

Closed
Kjolnyr wants to merge 4 commits intobevyengine:mainfrom
Kjolnyr:colored_wireframe
Closed

Colored wireframe#8480
Kjolnyr wants to merge 4 commits intobevyengine:mainfrom
Kjolnyr:colored_wireframe

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