Run outline pass after TAA if TAA plugin added first.
This commit is contained in:
parent
c4d058c94e
commit
ff99c20c77
@ -309,6 +309,9 @@ impl Plugin for OutlinePlugin {
|
||||
|
||||
// Run after main 3D pass, but before UI psss
|
||||
draw_3d_graph.add_node_edge(Node3d::EndMainPass, NodeOutline::OutlinePass);
|
||||
if let Ok(_) = draw_3d_graph.get_node_state(Node3d::Taa) {
|
||||
draw_3d_graph.add_node_edge(Node3d::Taa, NodeOutline::OutlinePass);
|
||||
}
|
||||
#[cfg(feature = "bevy_ui")]
|
||||
draw_3d_graph.add_node_edge(NodeOutline::OutlinePass, NodeUi::UiPass);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user