Commit Graph

19 Commits

Author SHA1 Message Date
Schmarni
eb3ec03d91 feat: update to bevy 0.17 and use individual bevy crates
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-10-19 16:13:59 +02:00
Schmarni
6284d4bf31 refactor: cleanup for bevy 0.16
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-04-26 14:25:54 +02:00
Malek
4528529417 0.16 support 2025-04-26 01:00:21 +02:00
PJB3005
1957518b0f Fix directional light shadows: take two
This PR aims to do the same as #180, but hopefully without making future WebXR compat more annoying.

get_frustum_corners() is now implemented properly, directly from the projection matrix. I believe it should work with the existing OpenXR code, but I cannot test this with any WebXR implementations with "sheared projection matrices", because I am continuing to doubt whether that even exists.

I also added unit tests, which involved a decent amount of code shuffling regardless. The original implementation from #180 is left in as a control in the test code.
2025-03-18 00:44:28 +01:00
Schmarni
8a3719a019 use XrSessionCreated schedule to init the Views
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-02-05 19:00:00 +01:00
Schmarni
6d515f3ae9 only add systems that depend on pbr when the PbrPlugin is added
Signed-off-by: Schmarni <marnistromer@gmail.com>
2025-01-17 05:45:01 +01:00
Schmarni
a04ebb8426 add XrTracker component that auto parents the entity to the XrTrackingRoot, XrSpace requires XrTracker
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-01 23:15:31 +01:00
Schmarni
4c415d066a remove XrCameraBundle, use required components and component hooks instead
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-01 23:15:31 +01:00
Schmarni
7320ae8dac update to bevy 0.15 rc
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-12-01 23:15:31 +01:00
ForTehLose
0e6330d313 added system for cascading shadow maps 2024-08-16 16:12:34 -04:00
ForTehLose
a1d2e0d0f7 Revert "Update camera.rs"
This reverts commit 7c400c3dc8.
2024-07-12 13:51:40 -04:00
ForTehLose
7c400c3dc8 Update camera.rs 2024-07-12 13:42:57 -04:00
Schmarni
81779bd76e update to bevy 0.14
Signed-off-by: Schmarni <marnistromer@gmail.com>
2024-07-05 03:19:02 +02:00
awtterpip
d98b9a4455 Revert "move to single crate for webxr and openxr"
This reverts commit 5e769ef52b.
2024-04-18 16:30:18 -05:00
awtterpip
5e769ef52b move to single crate for webxr and openxr 2024-04-15 18:13:17 -05:00
awtterpip
9a556289de more rendering code 2024-03-14 21:34:42 -05:00
awtterpip
e1d5de1a94 fix camera jitter 2024-03-14 19:40:50 -05:00
awtterpip
b897dc312e fix projection 2024-03-14 18:00:56 -05:00
awtterpip
91eb263b4f rendering code and api crate 2024-03-10 19:59:19 -05:00