summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/meshIn.glsl
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/meshIn.glsl
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/meshIn.glsl')
-rw-r--r--gfx/gl/shaders/meshIn.glsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/gfx/gl/shaders/meshIn.glsl b/gfx/gl/shaders/meshIn.glsl
new file mode 100644
index 0000000..2b244c1
--- /dev/null
+++ b/gfx/gl/shaders/meshIn.glsl
@@ -0,0 +1,4 @@
+layout(location = 0) in vec3 position;
+layout(location = 1) in vec2 texCoord;
+layout(location = 2) in vec3 normal;
+layout(location = 3) in vec4 colour;