summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/basicShader.vs
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/gl/shaders/basicShader.vs')
-rw-r--r--gfx/gl/shaders/basicShader.vs1
1 files changed, 1 insertions, 0 deletions
diff --git a/gfx/gl/shaders/basicShader.vs b/gfx/gl/shaders/basicShader.vs
index 4d648f3..e1701ed 100644
--- a/gfx/gl/shaders/basicShader.vs
+++ b/gfx/gl/shaders/basicShader.vs
@@ -15,6 +15,7 @@ main()
TexCoords = texCoord;
Normal = (model * vec4(normal, 0.0)).xyz;
Colour = colour;
+ Material = material;
gl_Position = viewProjection * worldPos;
}