mirror of
https://github.com/bevyengine/bevy
synced 2024-12-22 19:13:08 +00:00
56b0e88b53
(cherry picked from commit de943381bd2a8b242c94db99e6c7bbd70006d7c3) # Objective The view uniform lacks view transform information. The inverse transform is currently provided but this is not sufficient if you do not have access to an `inverse` function (such as in WGSL). ## Solution Grab the view transform, put it in the view uniform, use the same matrix to compute the inverse as well. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |