extra_spec["use_shadow_map"] = true;
if(image_based_lighting)
extra_spec["use_image_based_lighting"] = true;
+ if(instancing)
+ extra_spec["use_instancing"] = true;
shprog = material->create_compatible_shader(extra_spec);
add("face_cull", &RenderMethod::face_cull);
add("shader", &Loader::shader);
add("image_based_lighting", &RenderMethod::image_based_lighting);
+ add("instancing", &RenderMethod::instancing);
add("material", &Loader::material_inline);
add("material", &Loader::material);
add("material_slot", &RenderMethod::material_slot);