bevy/crates/bevy_pbr
Elijah 5d3fa5e77b Add inverse_projection and inverse_view_proj fields to shader view uniform (#5119)
# Objective

Transform screen-space coordinates into world space in shaders. (My use case is for generating rays for ray tracing with the same perspective as the 3d camera).

## Solution

Add `inverse_projection` and `inverse_view_proj` fields to shader view uniform

---

## Changelog

### Added
`inverse_projection` and `inverse_view_proj` fields to shader view uniform

## Note

It'd probably be good to double-check that I did the matrix multiplication in the right order for `inverse_proj_view`. Thanks!
2022-07-04 21:04:16 +08:00
..
src Add inverse_projection and inverse_view_proj fields to shader view uniform (#5119) 2022-07-04 21:04:16 +08:00
Cargo.toml Allow unbatched render phases to use unstable sorts (#5049) 2022-06-23 10:52:49 +00:00