diff --git a/src/main.rs b/src/main.rs index f5c6dc2..a115a89 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,7 +17,6 @@ use bevy::app::{App, ScheduleRunnerPlugin, TerminalCtrlCHandlerPlugin}; use bevy::asset::{AssetMetaCheck, UnapprovedPathMode}; use bevy::audio::AudioPlugin; use bevy::core_pipeline::CorePipelinePlugin; -use bevy::core_pipeline::oit::OrderIndependentTransparencySettings; use bevy::diagnostic::DiagnosticsPlugin; use bevy::ecs::schedule::{ExecutorKind, ScheduleLabel}; use bevy::gizmos::GizmoPlugin; @@ -457,26 +456,6 @@ fn cam_observer( *msaa = Msaa::Off; } -fn add_oit( - mut commands: Commands, - cameras: Query< - Entity, - ( - With, - Without, - ), - >, -) { - for entity in &cameras { - commands - .entity(entity) - .insert(OrderIndependentTransparencySettings { - layer_count: 4, - alpha_threshold: 0.00, - }); - } -} - fn xr_step(world: &mut World) { // update things like the Xr input methods world.run_schedule(PreFrameWait);