230231232233234235236237238239240
switch (illum) { case 0: kd = getPainter("Kd"); material = new LambertianMaterial(kd); shader = new ConstantShader(kd); break; case 1: ka = getPainter("Ka"); kd = getPainter("Kd");