X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmaterial.cpp;h=9109b786ecb4d414a3d455c57fe6421a06a7d314;hb=f7d6481be3511153ded018e119bcac852faa0766;hp=ef3662e964d8be98421e6e187256b0f028daa232;hpb=146df2d02940a04aeafe854bdd981a1489cc80b3;p=libs%2Fgl.git diff --git a/source/material.cpp b/source/material.cpp index ef3662e9..9109b786 100644 --- a/source/material.cpp +++ b/source/material.cpp @@ -2,6 +2,7 @@ #include #include "basicmaterial.h" #include "gl.h" +#include "pbrmaterial.h" #include "resources.h" #include "texturing.h" #include "uniform.h" @@ -65,6 +66,7 @@ Material::MaterialRegistry &Material::get_material_registry() if(!initialized) { registry.register_type("basic"); + registry.register_type("pbr"); } return registry; }