mirror of
https://github.com/bevyengine/bevy
synced 2024-09-20 06:22:01 +00:00
7c80ae7313
# Objective
I want to get the visual depth (after view proj matrix stuff) of the
object beneath my cursor.
Even when having a write-back of the depth texture, you would still need
to convert the NDC depth to a logical value.
## Solution
This is done on shader-side by [this
function](
|
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml | ||
README.md |