X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbasicmaterial.h;h=5d8d96ae5273d05e7a3106d409e5b4d40b7be450;hb=41391cd21cf35e979c1d2c88019b7425123500be;hp=5fca56a0300127e54fd7f0b06be52bb4e97586e1;hpb=929a2d975be0590503fe6701526dd9536e60e026;p=libs%2Fgl.git diff --git a/source/basicmaterial.h b/source/basicmaterial.h index 5fca56a0..5d8d96ae 100644 --- a/source/basicmaterial.h +++ b/source/basicmaterial.h @@ -29,6 +29,7 @@ private: Property normal; Property emission; Property reflectivity; + bool receive_shadows; public: BasicMaterial(); @@ -50,6 +51,7 @@ public: void set_shininess_map(const Texture *); void set_reflectivity(float); void set_reflectivity_map(const Texture *); + void set_receive_shadows(bool); }; } // namespace GL