bevy/crates/bevy_render/src
Aron Derenyi 2e8dfc02ef Fixing confusing near and far fields in Camera (#4457)
# Objective

- Fixes #4456 

## Solution

- Removed the `near` and `far` fields from the camera and the views.

---

## Changelog

- Removed the `near` and `far` fields from the camera and the views.
- Removed the `ClusterFarZMode::CameraFarPlane` far z mode.

## Migration Guide

- Cameras no longer accept near and far values during initialization
- `ClusterFarZMode::Constant` should be used with the far value instead of `ClusterFarZMode::CameraFarPlane`
2022-05-16 16:37:33 +00:00
..
camera Fixing confusing near and far fields in Camera (#4457) 2022-05-16 16:37:33 +00:00
color Fixed case of R == G, following original conversion formula (#4383) 2022-04-04 18:59:00 +00:00
mesh Make accessors for mesh vertices and indices public. (#3906) 2022-05-09 13:19:33 +00:00
primitives Faster assign lights to clusters (#4345) 2022-04-15 02:53:20 +00:00
render_graph bevy_render: Support removal of nodes, edges, subgraphs (#3048) 2022-03-21 23:58:37 +00:00
render_phase Compute Pipeline Specialization (#3979) 2022-03-23 00:27:26 +00:00
render_resource StorageBuffer uses wrong type to calculate the buffer size. (#4557) 2022-05-05 02:12:16 +00:00
renderer fix tracy frame marker placement (after preseting *all* windows) (#4731) 2022-05-12 18:39:20 +00:00
texture Move Size to bevy_ui (#4285) 2022-04-25 13:54:46 +00:00
view Fixing confusing near and far fields in Camera (#4457) 2022-05-16 16:37:33 +00:00
lib.rs unsafeify World::entities_mut (#4093) 2022-03-30 23:52:45 +00:00
render_asset.rs Introduce SystemLabel's for RenderAssetPlugin, and change Image preparation system to run before others (#3917) 2022-03-29 19:44:45 +00:00
render_component.rs Filter material handles on extraction (#4178) 2022-05-03 18:28:04 +00:00
settings.rs bevy_render: Use RenderDevice to get limits/features and expose AdapterInfo (#3931) 2022-02-16 21:17:37 +00:00