Files
bevy_oxr/crates
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
..
2024-12-01 23:15:31 +01:00
2024-12-21 02:32:04 +01:00