class BasicMaterial: public Material
{
public:
- class Loader: public DataFile::DerivedObjectLoader<BasicMaterial, Material::LoaderBase<BasicMaterial> >
+ class Loader: public DataFile::DerivedObjectLoader<BasicMaterial, Material::PropertyLoader<BasicMaterial> >
{
private:
static ActionMap shared_actions;
Property<Vector3> normal;
Property<Color> emission;
Property<float> reflectivity;
+ bool receive_shadows;
public:
BasicMaterial();
void set_shininess_map(const Texture *);
void set_reflectivity(float);
void set_reflectivity_map(const Texture *);
+ void set_receive_shadows(bool);
};
} // namespace GL