summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/shadowDynamicPointStencil.fs
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-09-02 21:00:41 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-09-02 21:00:41 +0100
commit052b2b49d9bfdaaa7f7c5603fa7c47b881df93c2 (patch)
treee1ee5476434ae0855a4970c10e7e8fc88744b30b /gfx/gl/shaders/shadowDynamicPointStencil.fs
parentUpdate Texture::getSize and ::size to account for the third texture dimension (diff)
downloadilt-052b2b49d9bfdaaa7f7c5603fa7c47b881df93c2.tar.bz2
ilt-052b2b49d9bfdaaa7f7c5603fa7c47b881df93c2.tar.xz
ilt-052b2b49d9bfdaaa7f7c5603fa7c47b881df93c2.zip
Update stencil texture to 2d array
Diffstat (limited to 'gfx/gl/shaders/shadowDynamicPointStencil.fs')
-rw-r--r--gfx/gl/shaders/shadowDynamicPointStencil.fs4
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/gl/shaders/shadowDynamicPointStencil.fs b/gfx/gl/shaders/shadowDynamicPointStencil.fs
index 57b8aa3..e612691 100644
--- a/gfx/gl/shaders/shadowDynamicPointStencil.fs
+++ b/gfx/gl/shaders/shadowDynamicPointStencil.fs
@@ -1,9 +1,9 @@
#version 330 core
#extension GL_ARB_shading_language_420pack : enable
-layout(binding = 0) uniform sampler2D stencilDepth;
+layout(binding = 0) uniform sampler2DArray stencilDepth;
flat in vec3 scale;
-in vec2 texCoord;
+in vec3 texCoord;
void
main()