X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmaterials%2Fmaterial.cpp;h=17fa546bbf0ba9f94fb7e08688afd3a46a2d7cee;hb=2f198e3210714c7abac53bbe1be4d41b1ef85c14;hp=810ecd174d81fb407730b33b0488b456dcee4f86;hpb=f65bb3d92340c1508fe37eeac849f60d6ab1399c;p=libs%2Fgl.git diff --git a/source/materials/material.cpp b/source/materials/material.cpp index 810ecd17..17fa546b 100644 --- a/source/materials/material.cpp +++ b/source/materials/material.cpp @@ -6,6 +6,7 @@ #include "resources.h" #include "texturing.h" #include "uniform.h" +#include "unlitmaterial.h" using namespace std; @@ -68,6 +69,7 @@ Material::MaterialRegistry &Material::get_material_registry() initialized = true; registry.register_type("basic"); registry.register_type("pbr"); + registry.register_type("unlit"); } return registry; }