Code example for GL10

Methods: glMaterialf, glMaterialfv