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