Material GetMaterial(PipLight light)
 {
     if (light.shadowType == LightShadows.None) {
         return light.cookie == null ? PointNoShadows : PointCookieNoShadows;
     } else if (light.shadowType == LightShadows.Hard) {
         return light.cookie == null ? PointHardShadows : PointCookieHardShadows;
     } else {
         return light.cookie == null ? PointSoftShadows : PointCookieSoftShadows;
     }
 }
 public void Remove(PipLight o)
 {
     m_Lights.Remove (o);
 }
 public void Add(PipLight o)
 {
     Remove (o);
     m_Lights.Add (o);
 }