File tree Expand file tree Collapse file tree
crates/bevy_anti_alias/src/contrast_adaptive_sharpening Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- use crate :: fxaa:: fxaa;
1+ use crate :: { fxaa:: fxaa, smaa :: smaa } ;
22use bevy_app:: prelude:: * ;
33use bevy_asset:: { embedded_asset, load_embedded_asset, AssetServer } ;
44use bevy_camera:: Camera ;
@@ -117,8 +117,18 @@ impl Plugin for CasPlugin {
117117 render_app
118118 . add_systems ( RenderStartup , init_cas_pipeline)
119119 . add_systems ( Render , prepare_cas_pipelines. in_set ( RenderSystems :: Prepare ) )
120- . add_systems ( Core3d , cas. after ( fxaa) . in_set ( Core3dSystems :: PostProcess ) )
121- . add_systems ( Core2d , cas. after ( fxaa) . in_set ( Core2dSystems :: PostProcess ) ) ;
120+ . add_systems (
121+ Core3d ,
122+ cas. after ( fxaa)
123+ . after ( smaa)
124+ . in_set ( Core3dSystems :: PostProcess ) ,
125+ )
126+ . add_systems (
127+ Core2d ,
128+ cas. after ( fxaa)
129+ . after ( smaa)
130+ . in_set ( Core2dSystems :: PostProcess ) ,
131+ ) ;
122132 }
123133}
124134
You can’t perform that action at this time.
0 commit comments