X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Frender%2Frenderer.h;h=69474d4034b03b63bb8b8b20553dc2e91e7e0401;hp=197cf95a5c6b09090adc6ccd5e4505c2a1f44617;hb=45de0062950ad822ed0379ed4fe807d333e1b8f1;hpb=d40673bd28c4b4524d3642b949d9d109dc6f9f24 diff --git a/source/render/renderer.h b/source/render/renderer.h index 197cf95a..69474d40 100644 --- a/source/render/renderer.h +++ b/source/render/renderer.h @@ -89,8 +89,6 @@ private: Matrix model_matrix; unsigned texture_count; unsigned lowest_effect_texunit; - const Material *material; - const Lighting *lighting; const Clipping *clipping; const Program *shprog; unsigned shdata_count; @@ -106,10 +104,8 @@ private: { MATRIX = 2, SHADER_DATA = 16, - MATERIAL_SHDATA = 32, STANDARD_SHDATA = 64, CAMERA_SHDATA = 128, - LIGHTING_SHDATA = 256, CLIPPING_SHDATA = 512 }; @@ -155,9 +151,9 @@ public: DEPRECATED void set_texturing(const Texturing *); DEPRECATED unsigned allocate_effect_texunit(); #pragma GCC diagnostic pop - void set_material(const Material *); + DEPRECATED void set_material(const Material *); - void set_lighting(const Lighting *); + DEPRECATED void set_lighting(const Lighting *); void set_clipping(const Clipping *); /** Sets the shader program to use. An initial set of data can be set as