From 7136942f9d097a80fecbf0d937a59f95ef34c7d4 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 4 Dec 2022 19:26:07 +0000 Subject: Explicit ShadowMapper size only, no default --- gfx/gl/sceneRenderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gfx/gl/sceneRenderer.cpp') diff --git a/gfx/gl/sceneRenderer.cpp b/gfx/gl/sceneRenderer.cpp index 49c73a2..56e8f73 100644 --- a/gfx/gl/sceneRenderer.cpp +++ b/gfx/gl/sceneRenderer.cpp @@ -14,7 +14,7 @@ static constexpr std::array displayVAOdata {{ }}; SceneRenderer::SceneRenderer(glm::ivec2 s, GLuint o) : camera {{-1250.0F, -1250.0F, 35.0F}, quarter_pi, ratio(s), 0.1F, 10000.0F}, size {s}, output {o}, - lighting {lightingShader_vs, lightingShader_fs} + lighting {lightingShader_vs, lightingShader_fs}, shadowMapper {{4096, 4096}} { shader.setViewPort({0, 0, size.x, size.y}); glBindVertexArray(displayVAO); -- cgit v1.2.3