The following is code i am trying to apply to an object in opengl:
GLfloat material_Ka[] ={0.11,0.06,0.11,1};
GLfloat material_Kd[] ={0.43,0.47,0.54,1};
GLfloat material_Ks[] ={0.33,0.33,0.52,1};
GLfloat material_Ke[] ={0,0,0,0};
GLfloat material_Se =5.0;
Notice the ‘&’ characterc before the last parameter? That means the address_to_material_Se…
cannot convert float to float* means that it requires an address rather than a value.
What vijaykiran said SHOULD work too BTW, why it doesn’t beats me…