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

cannot handle wireframe very well #1

Open
piaoger opened this issue May 4, 2022 · 3 comments
Open

cannot handle wireframe very well #1

piaoger opened this issue May 4, 2022 · 3 comments

Comments

@piaoger
Copy link

piaoger commented May 4, 2022

I had some meshes as wireframe as did in following snippt and found they will be display in viewport, and solid mesh works fine instead.

bevy::pbr::wireframe::{Wireframe, WireframeConfig, WireframePlugin};

commands
    .spawn_bundle(PbrBundle {
        mesh: .....,
        ..Default::default()
    })
    .insert(Wireframe);

1651635279(1)

@dtaralla
Copy link
Owner

dtaralla commented May 4, 2022

Thank you for the report! Funny enough, I noticed this too on Monday for the first time.
It seems to be an issue in bevy not abiding by the visible entities of a camera. More info here.

@dtaralla
Copy link
Owner

dtaralla commented May 5, 2022

Pull request for the fix was merged today, so this will be fixed as soon as 0.8 bevy gets out 👍

@piaoger
Copy link
Author

piaoger commented May 5, 2022

Pull request for the fix was merged today, so this will be fixed as soon as 0.8 bevy gets out 👍

I found that integration this morning too !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants