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.glsl7
1 files changed, 7 insertions, 0 deletions
diff --git a/gfx/gl/shaders/materialInterface.glsl b/gfx/gl/shaders/materialInterface.glsl
new file mode 100644
index 0000000..5735cf9
--- /dev/null
+++ b/gfx/gl/shaders/materialInterface.glsl
@@ -0,0 +1,7 @@
+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;