Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bevyengine
GitHub Repository: bevyengine/bevy
Path: blob/main/tests/3d/no_prepass.rs
6592 views
1
//! A test to confirm that `bevy` allows disabling the prepass of the standard material.
2
//! This is run in CI to ensure that this doesn't regress again.
3
use bevy::{pbr::PbrPlugin, prelude::*};
4
5
fn main() {
6
App::new()
7
.add_plugins(DefaultPlugins.set(PbrPlugin {
8
prepass_enabled: false,
9
..default()
10
}))
11
.run();
12
}
13
14