mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
bevy_render2: Make default near plane more sensible at 0.1 (#2703)
# Objective The default perspective projection near plane being at 1 unit feels very far away if one considers units to directly map to real world units such as metres. Not being able to see anything that is closer than 1m is unnecessarily limiting. Using a default of 0.1 makes more sense as it is difficult to even focus on things closer than 10cm in the real world. ## Solution - Changed the default perspective projection near plane to 0.1.
This commit is contained in:
parent
3faca93f7b
commit
993ce84bc7
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ impl Default for PerspectiveProjection {
|
|||
fn default() -> Self {
|
||||
PerspectiveProjection {
|
||||
fov: std::f32::consts::PI / 4.0,
|
||||
near: 1.0,
|
||||
near: 0.1,
|
||||
far: 1000.0,
|
||||
aspect_ratio: 1.0,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue