Ejemplo n.º 1
0
 // ! tells you whether this material includes partial transparency.
 public final boolean isTransparent() {
   return (ambient.getA() < 1.0f
       || diffuse.getA() < 1.0f
       || specular.getA() < 1.0f
       || emission.getA() < 1.0f);
 }