Re: PLugin writing
Aha I answer my own question.
ACrgb blck;
blck.r= blck.g=blck.b=0;
ACMaterial *num = ac_new_material_rgb(thergb); // material diffuse colour
ac_entity_set_float_value((ACEntity *)num, "shininess", 2.0);
ac_entity_set_rgb_value((ACEntity *)num, "specular", &blck);
changes the new material to have shininess of 2 and no specular colour component.
|