public LookupFilterDef()
        {
            if (lookupFilterEffect == null)
            {
                lookupFilterEffect = Util.GetComponentVar <LookupFilter, LookupFilterDef>(lookupFilterEffect);
            }

            amount             = 1f;
            forceCompatibility = false;

            // TODO: Default
            Texture2D tex = new Texture2D(1, 1);

            tex.SetPixel(0, 0, Color.white);
            tex.Apply();
            lookupTexture     = (Texture)tex;
            lookupTextureFile = "";
        }
 public void InitMemberByInstance(LookupFilter lookupFilter)
 {
     amount             = lookupFilter.amount;
     forceCompatibility = lookupFilter.forceCompatibility;
     lookupTexture      = lookupFilter.lookupTexture;
 }