Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Bloom"/> class.
 /// </summary>
 public Bloom()
 {
     Radius = 10;
     Amount = 0.3f;
     DownScale = 1;
     SigmaRatio = 3.5f;
     Distortion = new Vector2(1);
     afterimage = new Afterimage { Enabled = false };
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Bloom"/> class.
 /// </summary>
 public Bloom()
 {
     Radius     = 10;
     Amount     = 0.3f;
     DownScale  = 1;
     SigmaRatio = 3.5f;
     Distortion = new Vector2(1);
     afterimage = new Afterimage {
         Enabled = false
     };
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Bloom"/> class.
 /// </summary>
 public Bloom()
     : base(null, true)
 {
     Radius     = 10;
     Amount     = 0.3f;
     DownScale  = 2;
     SigmaRatio = 3.5f;
     Distortion = new Vector2(1);
     Afterimage = new Afterimage {
         Enabled = false
     };
     EnableSetRenderTargets = false;
     stableConvolution      = true;
 }
Exemple #4
0
        protected override void InitializeCore()
        {
            base.InitializeCore();

            multiScaler = ToLoadAndUnload(new ImageMultiScaler());
            blur = ToLoadAndUnload(new GaussianBlur());
            afterimage = ToLoadAndUnload(afterimage);
        }