summaryrefslogtreecommitdiff
path: root/gfx/gl/shadowMapper.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-12-06 18:11:13 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-12-06 18:11:13 +0000
commite247d3a28db3d222ff932d78ecf2208616bfd7a8 (patch)
tree95916582c5ed7670afe26fde6249b34fda2be6bc /gfx/gl/shadowMapper.cpp
parentDisable depth test, remove unnecesary texture binds and clear for lighting pass (diff)
downloadilt-e247d3a28db3d222ff932d78ecf2208616bfd7a8.tar.bz2
ilt-e247d3a28db3d222ff932d78ecf2208616bfd7a8.tar.xz
ilt-e247d3a28db3d222ff932d78ecf2208616bfd7a8.zip
Tidy up
Diffstat (limited to 'gfx/gl/shadowMapper.cpp')
-rw-r--r--gfx/gl/shadowMapper.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/gfx/gl/shadowMapper.cpp b/gfx/gl/shadowMapper.cpp
index 4acdb39..fd25dbe 100644
--- a/gfx/gl/shadowMapper.cpp
+++ b/gfx/gl/shadowMapper.cpp
@@ -19,7 +19,6 @@ ShadowMapper::ShadowMapper(const glm::ivec2 & s) : size {s}
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_BORDER);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_BORDER);
static constexpr glm::vec3 border {std::numeric_limits<float>::infinity()};
- // static constexpr glm::vec3 border {1};
glTexParameterfv(GL_TEXTURE_2D, GL_TEXTURE_BORDER_COLOR, glm::value_ptr(border));
glBindFramebuffer(GL_FRAMEBUFFER, depthMapFBO);