summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-12-28 19:36:00 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-12-28 19:36:00 +0000
commit66047d123769245e3b5cb8bbe748aefb13db16d4 (patch)
tree5224d291d80726c44fccf21ec185430b634316a6 /gfx/gl/shaders
parentGenerate a single shadow band and region definition (diff)
downloadilt-66047d123769245e3b5cb8bbe748aefb13db16d4.tar.bz2
ilt-66047d123769245e3b5cb8bbe748aefb13db16d4.tar.xz
ilt-66047d123769245e3b5cb8bbe748aefb13db16d4.zip
Generate 4 bands of shadow maps
Diffstat (limited to 'gfx/gl/shaders')
-rw-r--r--gfx/gl/shaders/directionalLight.fs2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/shaders/directionalLight.fs b/gfx/gl/shaders/directionalLight.fs
index fa1e38d..ca10ef5 100644
--- a/gfx/gl/shaders/directionalLight.fs
+++ b/gfx/gl/shaders/directionalLight.fs
@@ -1,7 +1,7 @@
#version 330 core
#extension GL_ARB_shading_language_420pack : enable
-const int MAX_MAPS = 3;
+const int MAX_MAPS = 4;
out vec3 FragColor;