Skip to content

Depth buffer with wgpu #2599

Answered by wrnrlr
wrnrlr asked this question in Q&A
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

Comment options

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

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants