| case 2:
ka = getPainter("Ka");
kd = getPainter("Kd");
ks = getPainter("Ks");
material = new ModifiedPhongMaterial(kd, ks, exponent);
shader = new PhongShader(kd, ks, ka, new UniformPainter(colorModel.getGray(exponent)));
break;
case 3:
case 4:
case 5:
|