Ejemplo n.º 1
0
        public void Clone(Bloom src)
        {
            tweakMode       = src.tweakMode;
            screenBlendMode = src.screenBlendMode;

            hdr = src.hdr;

            sepBlurSpread = src.sepBlurSpread;

            quality = src.quality;

            bloomIntensity      = src.bloomIntensity;
            bloomThreshold      = src.bloomThreshold;
            bloomThresholdColor = src.bloomThresholdColor;
            bloomBlurIterations = src.bloomBlurIterations;

            hollywoodFlareBlurIterations = src.hollywoodFlareBlurIterations;
            flareRotation       = src.flareRotation;
            lensflareMode       = src.lensflareMode;
            hollyStretchWidth   = src.hollyStretchWidth;
            lensflareIntensity  = src.lensflareIntensity;
            lensflareThreshold  = src.lensflareThreshold;
            lensFlareSaturation = src.lensFlareSaturation;
            flareColorA         = new Color(src.flareColorA.r, src.flareColorA.g, src.flareColorA.b, src.flareColorA.a);
            flareColorB         = new Color(src.flareColorB.r, src.flareColorB.g, src.flareColorB.b, src.flareColorB.a);
            flareColorC         = new Color(src.flareColorC.r, src.flareColorC.g, src.flareColorC.b, src.flareColorC.a);
            flareColorD         = new Color(src.flareColorD.r, src.flareColorD.g, src.flareColorD.b, src.flareColorD.a);
        }
Ejemplo n.º 2
0
 public Bloom()
 {
     screenBlendMode              = BloomScreenBlendMode.Add;
     hdr                          = HDRBloomMode.Auto;
     sepBlurSpread                = 2.5f;
     quality                      = BloomQuality.High;
     bloomIntensity               = 0.5f;
     bloomThreshhold              = 0.5f;
     bloomThreshholdColor         = Color.white;
     bloomBlurIterations          = 2;
     hollywoodFlareBlurIterations = 2;
     lensflareMode                = LensFlareStyle.Anamorphic;
     hollyStretchWidth            = 2.5f;
     lensflareThreshhold          = 0.3f;
     lensFlareSaturation          = 0.75f;
     flareColorA                  = new Color(0.4f, 0.4f, 0.8f, 0.75f);
     flareColorB                  = new Color(0.4f, 0.8f, 0.8f, 0.75f);
     flareColorC                  = new Color(0.8f, 0.4f, 0.8f, 0.75f);
     flareColorD                  = new Color(0.8f, 0.4f, 0f, 0.75f);
     blurWidth                    = 1f;
 }