Store the name of custom shaders in the glTF file

This commit is contained in:
Guillaume Meunier
2026-02-13 17:15:21 +01:00
parent fc5f0b9c6c
commit 067d3a7679
9 changed files with 49 additions and 34 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ struct material
size_t offset;
std::string name;
std::string fragment_shader_name = "lit.frag";
std::string fragment_shader = "lit.frag";
};
struct primitive