Fix manual depth test hole cutting

This commit is contained in:
Malin E
2023-03-03 08:44:13 +01:00
parent fedbf9a31e
commit 98836e5393
4 changed files with 46 additions and 12 deletions

View File

@@ -105,7 +105,8 @@ private:
UniformCache(nLightSources, lightDirectionsViewSpace, lightIntensities,
modelViewTransform, normalTransform, projectionTransform,
performShading, ambientIntensity, diffuseIntensity,
specularIntensity, performManualDepthTest, gBufferDepthTexture) _uniformCache;
specularIntensity, performManualDepthTest, gBufferDepthTexture,
viewport, resolution) _uniformCache;
std::vector<std::unique_ptr<LightSource>> _lightSources;