From d26100734623f37063206b9b144c2a29fd71d414 Mon Sep 17 00:00:00 2001 From: quou Date: Wed, 1 Jan 2025 18:43:31 +1100 Subject: material system --- material.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 material.h (limited to 'material.h') 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 -- cgit v1.2.3-54-g00ecf