enable glLightfv and glmaterialfv