/// <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 }; }
/// <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 }; }
/// <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; }
protected override void InitializeCore() { base.InitializeCore(); multiScaler = ToLoadAndUnload(new ImageMultiScaler()); blur = ToLoadAndUnload(new GaussianBlur()); afterimage = ToLoadAndUnload(afterimage); }