]> git.tdb.fi Git - libs/gl.git/blobdiff - source/materials/basicmaterial.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / materials / basicmaterial.h
index bf1b0e8cdfb1190b114906abe398e4f1376216e4..4fe4e10c2012bc9be0c3e2171bd39f01e8e341a5 100644 (file)
@@ -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: