diff options
author | Silas Bartha <silas@exvacuum.dev> | 2024-12-11 02:03:02 -0500 |
---|---|---|
committer | Silas Bartha <silas@exvacuum.dev> | 2024-12-11 02:03:02 -0500 |
commit | 21c5461abdf9d988b6cc98af9392670e726742d3 (patch) | |
tree | c090ff49af51158e7ccc8b7e21fc62c49cd644eb /src/components.rs | |
parent | 1242f8352a3777ae20a3a24df5fc707e3f3c1ee0 (diff) |
Upgraded to Bevy 0.15v0.4.0
Diffstat (limited to 'src/components.rs')
-rw-r--r-- | src/components.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components.rs b/src/components.rs index 285a881..22de86c 100644 --- a/src/components.rs +++ b/src/components.rs @@ -1,11 +1,13 @@ use bevy::{ prelude::*, render::{extract_component::ExtractComponent, render_resource::ShaderType}, + core_pipeline::prepass::{NormalPrepass, DepthPrepass, DeferredPrepass}, }; /// Component which, when inserted into an entity with a camera and normal prepass, enables an outline effect for that /// camera. #[derive(Component, ShaderType, ExtractComponent, PartialEq, Clone)] +#[require(NormalPrepass, DepthPrepass, DeferredPrepass, Msaa(|| Msaa::Off))] pub struct OutlinePostProcessSettings { /// Weight of outlines in pixels. weight: f32, |