diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2020-11-26 11:48:42 +0100 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2020-11-26 16:42:10 +0100 |
commit | 9c682cf8ffe302719df1202d89e560e4fe67739d (patch) | |
tree | 744a1d8aeea9e14cf442e359a1110d6860b8ecfe /examples | |
parent | 1e2902ba3e1285fb2db5a90712135b130fdbbb84 (diff) |
Use RHI's clipSpaceCorrMatrix for backend where Y is not up
It's better to rely on RHI instead of a hard coded matrix.
Also modify the UBO to provide the clipSpaceCorrectionMatrix and the
uncorrected projectionMatrix.
All the other matrices we compute and provide use the corrected projectionMatrix
but these two new matrices give users the libertity of bypassing the
correction if they need to.
Pick-to: 6.0 6.0.0
Change-Id: I52e409cc9b38ea0e939d19d92e2ddd907aa7d1cb
Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions