diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-11 22:54:44 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-11 22:54:44 +0100 |
commit | d0186d81127056ac2647807dcf05b454e234a7cb (patch) | |
tree | c479dfcf588927ebc87d95c4a8e1d01c28205799 /gfx/gl/shaders/basicShader.vs | |
parent | Move lots of common glsl interface to include files (diff) | |
download | ilt-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/basicShader.vs')
-rw-r--r-- | gfx/gl/shaders/basicShader.vs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gfx/gl/shaders/basicShader.vs b/gfx/gl/shaders/basicShader.vs index a96d478..4d648f3 100644 --- a/gfx/gl/shaders/basicShader.vs +++ b/gfx/gl/shaders/basicShader.vs @@ -1,10 +1,7 @@ #version 330 core include(`meshIn.glsl') -out vec3 FragPos; -out vec2 TexCoords; -out vec3 Normal; -out vec4 Colour; +include(`materialInterface.glsl') uniform mat4 viewProjection; uniform mat4 model; |