File tree Expand file tree Collapse file tree 3 files changed +0
-8
lines changed
Expand file tree Collapse file tree 3 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,6 @@ struct ShadowMapUBO
2929 alignas(16 )
3030 glm ::mat4 lightSpaceMatrices [ShadowConfig ::CascadeCount ];
3131 alignas(16 )
32- glm ::mat4 orthoMatrices [ShadowConfig ::CascadeCount ];
33- alignas(16 )
34- glm ::mat4 viewMatrices [ShadowConfig ::CascadeCount ];
35- alignas(16 )
3632 glm ::vec4 splitValues ;
3733 alignas(16 )
3834 glm ::vec4 lightPosition ;
Original file line number Diff line number Diff line change @@ -178,8 +178,6 @@ void PipelineShadow::CalculateCascade(
178178
179179 // Store split distance and matrix in cascade
180180 ubo->lightSpaceMatrices [a] = lightOrthoMatrix * lightViewMatrix;
181- ubo->orthoMatrices [a] = lightOrthoMatrix;
182- ubo->viewMatrices [a] = lightViewMatrix;
183181 ubo->splitValues [a] = (clipNear + splitDist * clipRange) * -1 .0f ;
184182
185183 lastSplitDist = cascadeSplits[a];
Original file line number Diff line number Diff line change 44struct ShadowUBO
55{
66 mat4 lightSpaceMatrices[SHADOW_MAP_CASCADE_COUNT];
7- mat4 orthoMatrices[SHADOW_MAP_CASCADE_COUNT];
8- mat4 viewMatrices[SHADOW_MAP_CASCADE_COUNT];
97 vec4 splitDepths;
108 vec4 lightPosition;
119 float shadowMinBias;
You can’t perform that action at this time.
0 commit comments