summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/directionalLight.fs
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2026-01-15 23:51:54 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2026-01-16 00:27:08 +0000
commit05757e49098c67e03ba09c385a58293a95e31564 (patch)
tree9e326718ad212dafcaa5e347b696220a4cda8a7e /gfx/gl/shaders/directionalLight.fs
parentAdd constexpr lround for glm::vec (diff)
downloadilt-05757e49098c67e03ba09c385a58293a95e31564.tar.bz2
ilt-05757e49098c67e03ba09c385a58293a95e31564.tar.xz
ilt-05757e49098c67e03ba09c385a58293a95e31564.zip
Pass shaders through glslangValidatorHEADmain
Fixes the issues it picked up.
Diffstat (limited to 'gfx/gl/shaders/directionalLight.fs')
-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 cdf0389..7ee3452 100644
--- a/gfx/gl/shaders/directionalLight.fs
+++ b/gfx/gl/shaders/directionalLight.fs
@@ -48,7 +48,7 @@ isShaded(vec4 Position)
return getShadow(positionInLightSpace, m, texelSize);
}
}
- return 1;
+ return 1.0;
}
void