summaryrefslogtreecommitdiff
path: root/gfx/gl/shaders/materialInterface.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/gl/shaders/materialInterface.glsl')
-rw-r--r--gfx/gl/shaders/materialInterface.glsl3
1 files changed, 3 insertions, 0 deletions
diff --git a/gfx/gl/shaders/materialInterface.glsl b/gfx/gl/shaders/materialInterface.glsl
index 3e09c85..5735cf9 100644
--- a/gfx/gl/shaders/materialInterface.glsl
+++ b/gfx/gl/shaders/materialInterface.glsl
@@ -2,3 +2,6 @@ ifelse(TYPE, .fs, in, out) vec3 FragPos;
ifelse(TYPE, .fs, in, out) vec2 TexCoords;
ifelse(TYPE, .fs, in, out) vec3 Normal;
ifelse(TYPE, .fs, in, out) vec4 Colour;
+flat
+ifelse(TYPE, .fs, in, out)
+uint Material;