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