PDA

View Full Version : shining



pavlov123
01-15-2003, 02:39 AM
How can I make my scene shining?\
I have drawn some schemes and i want them to look like shining.How can i do that?

JustHanging
01-15-2003, 05:54 AM
Give the materials a high specular color and they look like they're shining.

-Ilkka

jebus
01-15-2003, 06:07 AM
to add a shiny highlight to your object, you must supply a shiniess value.

glMaterialf(GL_FRONT_AND_BACK, GL_SHININESS, <float> );

the larger the <float>, the larger the highlight.

jebus