bevy/crates
Robert Swain d34ecd7584 bevy_pbr: Use a special first depth slice for clustered forward (#3545)
# Objective

- Using plain exponential depth slicing for perspective projection cameras results in unnecessarily many slices very close together close to the camera. If the camera is then moved close to a collection of point lights, they will likely exhaust the available uniform buffer space for the lists of which lights affect which clusters.

## Solution

- A simple solution to this is to use a different near plane value for the depth slicing and set it to where the first slice's far plane should be. The default value is 5 and works well. This results in the configured number of depth slices, maintains the exponential slicing beyond the initial slice, and no slices are too small such that they cause problems that are sensitive to the view position.
2022-01-07 21:25:59 +00:00
..
bevy_app Bevy app docs (#3539) 2022-01-06 23:16:47 +00:00
bevy_asset Documented Handles and Assets (#3348) 2022-01-04 23:38:39 +00:00
bevy_audio Complete inline documentation for bevy_audio (#3510) 2022-01-05 22:30:15 +00:00
bevy_core Remove Bytes, FromBytes, Labels, EntityLabels. Document rest of bevy_core and enable warning on missing docs. (#3521) 2022-01-02 20:36:40 +00:00
bevy_core_pipeline make sub_app return an &App and add sub_app_mut() -> &mut App (#3309) 2021-12-24 06:57:30 +00:00
bevy_crevice Update nalgebra requirement from 0.29.0 to 0.30.0 (#3540) 2022-01-03 08:33:15 +00:00
bevy_derive Remove Bytes, FromBytes, Labels, EntityLabels. Document rest of bevy_core and enable warning on missing docs. (#3521) 2022-01-02 20:36:40 +00:00
bevy_diagnostic Fix doc_markdown lints in bevy_diagnostic (#3472) 2021-12-29 17:38:08 +00:00
bevy_dylib Add missing closing ticks for inline examples and some cleanup (#3573) 2022-01-07 09:25:12 +00:00
bevy_dynamic_plugin Bevy app docs (#3539) 2022-01-06 23:16:47 +00:00
bevy_ecs Add missing closing ticks for inline examples and some cleanup (#3573) 2022-01-07 09:25:12 +00:00
bevy_ecs_compile_fail_tests Fix clippy lints for 1.57 (#3238) 2021-12-02 23:40:37 +00:00
bevy_gilrs enable wasm-bindgen feature on gilrs (#3420) 2021-12-23 19:19:14 +00:00
bevy_gltf gltf loader: do not use the taskpool for only one task (#3577) 2022-01-07 07:19:22 +00:00
bevy_input Fix doc_markdown lints in bevy_input (#3475) 2021-12-29 17:38:10 +00:00
bevy_internal Added missing docs to bevy_internal and added warn on missing docs (#3514) 2022-01-01 21:22:04 +00:00
bevy_log Fix doc_markdown lints in bevy_log (#3476) 2021-12-29 17:38:11 +00:00
bevy_macro_utils Use fully-qualified type names in proc macro. (#3544) 2022-01-04 19:49:37 +00:00
bevy_math Replace old renderer with new renderer (#3312) 2021-12-14 03:58:23 +00:00
bevy_pbr bevy_pbr: Use a special first depth slice for clustered forward (#3545) 2022-01-07 21:25:59 +00:00
bevy_reflect Implement ReflectValue serialization for Duration (#3318) 2021-12-29 21:04:26 +00:00
bevy_render Add missing closing ticks for inline examples and some cleanup (#3573) 2022-01-07 09:25:12 +00:00
bevy_scene Renamed Entity::new to Entity::from_raw (#3465) 2021-12-29 20:49:00 +00:00
bevy_sprite Fix doc_markdown lints in bevy_sprite (#3480) 2021-12-29 18:49:43 +00:00
bevy_tasks Fix doc_markdown lints in bevy_tasks (#3481) 2021-12-29 17:38:13 +00:00
bevy_text Fix doc_markdown lints in bevy_text (#3482) 2022-01-05 22:30:12 +00:00
bevy_transform Fix doc_markdown lints in bevy_transform (#3483) 2021-12-30 09:23:17 +00:00
bevy_ui Fix doc_markdown lints in bevy_ui (#3484) 2022-01-05 22:30:14 +00:00
bevy_utils Bevy app docs (#3539) 2022-01-06 23:16:47 +00:00
bevy_window Added set_cursor_icon(...) to Window (#3395) 2021-12-20 22:04:45 +00:00
bevy_winit Added set_cursor_icon(...) to Window (#3395) 2021-12-20 22:04:45 +00:00