diff options
author | quou <quou@disroot.org> | 2025-01-01 18:43:31 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2025-01-01 18:43:31 +1100 |
commit | d26100734623f37063206b9b144c2a29fd71d414 (patch) | |
tree | 11aefe54b4110109a841cb656b2f309ee69a1893 /material.h | |
parent | 568ba73c71b650f905bd1b3f60f10871316eefdc (diff) |
material system
Diffstat (limited to 'material.h')
-rw-r--r-- | material.h | 16 |
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 |