diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-02-09 02:50:02 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-02-09 02:50:02 +0000 |
| commit | 5fc7f4fc7e8cd8c61e29f61f80a044f58cde333f (patch) | |
| tree | dc42a5c710e84c8c9465a711514a41a4abdfabe1 /Components/interface | |
| parent | Fixed 32-bit build issue (diff) | |
| download | DiligentFX-5fc7f4fc7e8cd8c61e29f61f80a044f58cde333f.tar.gz DiligentFX-5fc7f4fc7e8cd8c61e29f61f80a044f58cde333f.zip | |
Added RightHandedLightViewTransform parameter to DistributeCascadeInfo
Diffstat (limited to 'Components/interface')
| -rw-r--r-- | Components/interface/ShadowMapManager.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Components/interface/ShadowMapManager.hpp b/Components/interface/ShadowMapManager.hpp index 5ec185b..0990c21 100644 --- a/Components/interface/ShadowMapManager.hpp +++ b/Components/interface/ShadowMapManager.hpp @@ -104,6 +104,9 @@ public: /// fully logarithmic (1.0) partitioning. float fPartitioningFactor = 0.95f; + /// Wether to use right-handed or left-handed light view transform matrix + bool RightHandedLightViewTransform = true; + /// Callback that allows the application to adjust z range of every cascade. /// The callback is also called with cascade value -1 to adjust that entire camera range. std::function<void(int, float&, float&)> AdjustCascadeRange; |
