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;
{
MATRIX = 2,
SHADER_DATA = 16,
- MATERIAL_SHDATA = 32,
- STANDARD_SHDATA = 64
+ STANDARD_SHDATA = 64,
+ CAMERA_SHDATA = 128,
+ CLIPPING_SHDATA = 512
};
const Camera *default_camera;
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