summaryrefslogtreecommitdiff
path: root/material.h
diff options
context:
space:
mode:
Diffstat (limited to 'material.h')
-rw-r--r--material.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/material.h b/material.h
new file mode 100644
index 0000000..7e58468
--- /dev/null
+++ b/material.h
@@ -0,0 +1,16 @@
+#ifndef material_h
+#define material_h
+
+typedef struct {
+ char magic[4];
+ float metalness, roughness;
+ float ao;
+ unsigned albedo;
+ int albedo_tex_len;
+ int ao_tex_len;
+ int metal_tex_len;
+ int rough_tex_len;
+ int normal_tex_len;
+} Material_File;
+
+#endif