Skip to content

Depth buffer with wgpu #2599

Answered by wrnrlr
wrnrlr asked this question in Q&A
Jan 16, 2023 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Got the answer, add this option:

eframe::NativeOptions {
         // ...
        depth_buffer: 1,
        #[cfg(feature = "wgpu")] renderer: eframe::Renderer::Wgpu,
        ..Default::default()
    };

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by wrnrlr
Comment options

You must be logged in to vote
1 reply
@LioQing
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants