Property<Vector3> normal;
Property<Color> emission;
Property<float> reflectivity;
+ bool receive_shadows;
public:
BasicMaterial();
+protected:
+ virtual std::string create_program_source() const;
+
+public:
void attach_textures_to(Texturing &, ProgramData &) const;
void set_diffuse(const Color &);
void set_shininess_map(const Texture *);
void set_reflectivity(float);
void set_reflectivity_map(const Texture *);
+ void set_receive_shadows(bool);
};
} // namespace GL