Reconstructing world coordinates from depth buffer and arbitrary view-projection matrix

前端 未结 3 1899
有刺的猬
有刺的猬 2021-02-15 13:20

I\'m trying to reconstruct 3D world coordinates from depth values in my deferred renderer, but I\'m having a heck of a time. Most of the examples I find online assume a standard

3条回答
  •  失恋的感觉
    2021-02-15 14:18

    See my answer on gamedev.stackexchange for a more efficient way to reconstruct world and view space positions:

    https://gamedev.stackexchange.com/a/111885/24009

提交回复
热议问题