Is possible to have specular effect in real time?

Is possible to have specular effect in real time?

Yes.

//…
GLfloat light_specular[] = { 1.0, 1.0, 1.0, 1.0 };
glLightfv(GL_LIGHT0, GL_SPECULAR, light_specular);
//…
glMaterialfv(GL_FRONT, GL_SPECULAR, mat_specular);
glMaterialfv(GL_FRONT, GL_SHININESS, mat_shininess);
//…
glEnable(GL_LIGHTING);
glEnable(GL_LIGHT0);

See chapter 5 http://ask.ii.uib.no/ebt-bin/nph-dweb/dynaweb/SGI_Developer/OpenGL_PG/