mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
12 lines
340 B
Rust
12 lines
340 B
Rust
|
//! A test to confirm that `bevy` allows disabling the prepass of the standard material.
|
||
|
//! This is run in CI to ensure that this doesn't regress again.
|
||
|
use bevy::{pbr::PbrPlugin, prelude::*};
|
||
|
|
||
|
fn main() {
|
||
|
App::new()
|
||
|
.add_plugins(DefaultPlugins.set(PbrPlugin {
|
||
|
prepass_enabled: false,
|
||
|
}))
|
||
|
.run();
|
||
|
}
|