- const Color &get_diffuse() const { return diffuse; }
- const Color &get_specular() const { return specular; }
+ const Color &get_color() const { return color; }
+ const Color &get_transmittance() const { return transmittance; }
+
+ DEPRECATED void set_diffuse(const Color &c) { set_color(c); }
+ DEPRECATED void set_specular(const Color &) { }
+ DEPRECATED const Color &get_diffuse() const { return color; }
+ DEPRECATED const Color &get_specular() const { return color; }