Bevy 0.19.0 (released) removes the near/near_clip_plane footgun that caused #196: adjust_perspective_matrix_for_clip_plane treats any straight-ahead plane (0,0,-1,*) as non-oblique regardless of distance, so a custom near can no longer be silently overridden by the stale default plane.
On the bump, prune together (noted in fp_perspective(), net/src/render/scene.rs):
- the
near_clip_plane: Vec4::new(0.0, 0.0, -1.0, -near) line (dead weight on 0.19)
- the "Bevy 0.18" version-specific doc comments there and on the regression test
The regression test fp_camera_effective_clip_is_the_scaled_near passes on both versions, so it rides through the bump as the guard.
Bevy 0.19.0 (released) removes the near/near_clip_plane footgun that caused #196:
adjust_perspective_matrix_for_clip_planetreats any straight-ahead plane(0,0,-1,*)as non-oblique regardless of distance, so a customnearcan no longer be silently overridden by the stale default plane.On the bump, prune together (noted in
fp_perspective(), net/src/render/scene.rs):near_clip_plane: Vec4::new(0.0, 0.0, -1.0, -near)line (dead weight on 0.19)The regression test
fp_camera_effective_clip_is_the_scaled_nearpasses on both versions, so it rides through the bump as the guard.