summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/waterShader.fs
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-11 22:54:44 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-11 22:54:44 +0100
commitd0186d81127056ac2647807dcf05b454e234a7cb (patch)
treec479dfcf588927ebc87d95c4a8e1d01c28205799 /gfx/gl/shaders/waterShader.fs
parentMove lots of common glsl interface to include files (diff)
downloadilt-d0186d81127056ac2647807dcf05b454e234a7cb.tar.bz2
ilt-d0186d81127056ac2647807dcf05b454e234a7cb.tar.xz
ilt-d0186d81127056ac2647807dcf05b454e234a7cb.zip
Move the vertex/fragment shader interface for materials into an include
Diffstat (limited to 'gfx/gl/shaders/waterShader.fs')
-rw-r--r--gfx/gl/shaders/waterShader.fs4
1 files changed, 1 insertions, 3 deletions
diff --git a/gfx/gl/shaders/waterShader.fs b/gfx/gl/shaders/waterShader.fs
index d457f27..5936da4 100644
--- a/gfx/gl/shaders/waterShader.fs
+++ b/gfx/gl/shaders/waterShader.fs
@@ -1,9 +1,7 @@
#version 330 core
#extension GL_ARB_shading_language_420pack : enable
-in vec3 FragPos;
-in vec2 TexCoords;
-in vec3 Normal;
+include(`materialInterface.glsl')
include(`geometryOut.glsl')
uniform sampler2D texture0;