- glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, ambient);\r
- glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, diffuse);\r
- glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, specular);\r
- glMaterialfv(GL_FRONT_AND_BACK, GL_EMISSION, emission0);\r
- glMaterialf(GL_FRONT_AND_BACK, GL_SHININESS, shine);\r
+ glMaterialfv(GL_FRONT, GL_AMBIENT, ambient);\r
+ glMaterialfv(GL_FRONT, GL_DIFFUSE, diffuse);\r
+ glMaterialfv(GL_FRONT, GL_SPECULAR, specular);\r
+ glMaterialfv(GL_FRONT, GL_EMISSION, emission);\r
+ glMaterialf(GL_FRONT, GL_SHININESS, shine);\r