summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/landmassShader.fs
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-11 18:54:41 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-11 18:54:41 +0100
commit43d8fdb3f6aeb88762c68179d7bb1dc58507bb60 (patch)
tree5d0cf299cfe9a4688cc5df54984780a49566bcb1 /gfx/gl/shaders/landmassShader.fs
parentSupport m4 includes as a Jam scanner (diff)
downloadilt-43d8fdb3f6aeb88762c68179d7bb1dc58507bb60.tar.bz2
ilt-43d8fdb3f6aeb88762c68179d7bb1dc58507bb60.tar.xz
ilt-43d8fdb3f6aeb88762c68179d7bb1dc58507bb60.zip
Move lots of common glsl interface to include files
Diffstat (limited to 'gfx/gl/shaders/landmassShader.fs')
-rw-r--r--gfx/gl/shaders/landmassShader.fs5
1 files changed, 1 insertions, 4 deletions
diff --git a/gfx/gl/shaders/landmassShader.fs b/gfx/gl/shaders/landmassShader.fs
index 7c08e8e..5daeeb6 100644
--- a/gfx/gl/shaders/landmassShader.fs
+++ b/gfx/gl/shaders/landmassShader.fs
@@ -3,10 +3,7 @@
in vec3 FragPos;
in vec2 TexCoords;
in vec3 Normal;
-
-layout(location = 0) out vec4 gPosition;
-layout(location = 1) out vec4 gNormal;
-layout(location = 2) out vec4 gAlbedoSpec;
+include(`geometryOut.glsl')
uniform sampler2D texture0;