Skip to content

Commit

Permalink
re-add-comment
Browse files Browse the repository at this point in the history
  • Loading branch information
cart committed Jun 3, 2022
1 parent 437038b commit 90affac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_core_pipeline/src/core_3d/main_pass_3d_node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ impl Node for MainPass3dNode {
view: &depth.view,
// NOTE: The opaque main pass loads the depth buffer and possibly overwrites it
depth_ops: Some(Operations {
// NOTE: 0.0 is the far plane due to bevy's use of reverse-z projections.
load: camera_3d.depth_load_op.clone().into(),
store: true,
}),
Expand Down

0 comments on commit 90affac

Please sign in to comment.