File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed
Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class Camera
4242private:
4343 void UpdateInternal ();
4444
45- public :
45+ private :
4646 glm::mat4 projectionMatrix_;
4747 glm::mat4 inverseProjectionMatrix_;
4848 glm::mat4 viewMatrix_;
Original file line number Diff line number Diff line change @@ -39,7 +39,4 @@ void main()
3939 mat4 model = modelUBOs[meshData.modelMatrixIndex].model;
4040
4141 gl_Position = shadowUBO.lightSpaceMatrices[pc.cascadeIndex] * model * vertexData.position;
42- // gl_Position = shadowUBO.orthoMatrices[pc.cascadeIndex] *
43- // shadowUBO.viewMatrices[pc.cascadeIndex] *
44- // model * vertexData.position;
4542}
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ float ShadowPCF(vec4 shadowCoord, uint cascadeIndex)
3333
3434 float poissonRadius = 1000.0 * shadowUBO.poissonSize;
3535 float shadow = 0.0 ;
36- int numSamples = 8 ;
36+ const int numSamples = 8 ;
3737 for (int i = 0 ; i < numSamples; ++ i)
3838 {
3939 vec2 coord = GetPoissonDiskCoord(shadowCoord.xy, i, poissonRadius);
You can’t perform that action at this time.
0 commit comments