Skip to main content

no_prepass/
no_prepass.rs

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.
3use bevy::{pbr::PbrPlugin, prelude::*};
4
5fn main() {
6    App::new()
7        .add_plugins(DefaultPlugins.set(PbrPlugin {
8            prepass_enabled: false,
9            ..default()
10        }))
11        .run();
12}