diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-02-09 02:56:26 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-02-09 02:56:26 +0000 |
| commit | 6e5db3d78f803ac4144e96c2c779f13dc18b490a (patch) | |
| tree | 110f1409bfd4d1340285472388c6364c01889333 /Components/src/ShadowMapManager.cpp | |
| parent | Added RightHandedLightViewTransform parameter to DistributeCascadeInfo (diff) | |
| download | DiligentFX-6e5db3d78f803ac4144e96c2c779f13dc18b490a.tar.gz DiligentFX-6e5db3d78f803ac4144e96c2c779f13dc18b490a.zip | |
Renamed RightHandedLightViewTransform to UseRightHandedLightViewTransform
Diffstat (limited to 'Components/src/ShadowMapManager.cpp')
| -rw-r--r-- | Components/src/ShadowMapManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Components/src/ShadowMapManager.cpp b/Components/src/ShadowMapManager.cpp index 404f3e3..e795159 100644 --- a/Components/src/ShadowMapManager.cpp +++ b/Components/src/ShadowMapManager.cpp @@ -170,7 +170,7 @@ void ShadowMapManager::DistributeCascades(const DistributeCascadeInfo& Info, LightSpaceY = cross(LightSpaceZ, LightSpaceX); LightSpaceX = cross(LightSpaceY, LightSpaceZ); LightSpaceX = normalize(LightSpaceX); - LightSpaceY = normalize(LightSpaceY) * (Info.RightHandedLightViewTransform ? +1.f : -1.f); + LightSpaceY = normalize(LightSpaceY) * (Info.UseRightHandedLightViewTransform ? +1.f : -1.f); float4x4 WorldToLightViewSpaceMatr = float4x4::ViewFromBasis(LightSpaceX, LightSpaceY, LightSpaceZ); |
