X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmaterials%2Fbasicmaterial.h;h=4fe4e10c2012bc9be0c3e2171bd39f01e8e341a5;hb=190a7e11237351f6b730c28f7b16f183e8adc69c;hp=a5a8a43f31472c9e9e5f9c4fd320a77cba42e53c;hpb=5b652353d545a3190ea2d86ba82a87b2e3382a0d;p=libs%2Fgl.git diff --git a/source/materials/basicmaterial.h b/source/materials/basicmaterial.h index a5a8a43f..4fe4e10c 100644 --- a/source/materials/basicmaterial.h +++ b/source/materials/basicmaterial.h @@ -6,6 +6,13 @@ namespace Msp { namespace GL { +/** +A basic and cheap material using the Phong shading model. Results are roughly +equivalent to legacy OpenGL materials. + +In addition to the usual properties of the Phong shading model, normal mapping +and reflections are supported. Reflections require an EnvironmentMap effect. +*/ class BasicMaterial: public Material { public: @@ -15,7 +22,6 @@ public: static ActionMap shared_actions; public: - Loader(BasicMaterial &); Loader(BasicMaterial &, Collection &); private: