Exemplo n.º 1
0
 public BloomAndLensFlares()
 {
     this.screenBlendMode              = BloomScreenBlendMode.Add;
     this.hdr                          = HDRBloomMode.Auto;
     this.sepBlurSpread                = 1.5f;
     this.useSrcAlphaAsMask            = 0.5f;
     this.bloomIntensity               = 1f;
     this.bloomThreshhold              = 0.5f;
     this.bloomBlurIterations          = 2;
     this.hollywoodFlareBlurIterations = 2;
     this.lensflareMode                = LensflareStyle34.Anamorphic;
     this.hollyStretchWidth            = 3.5f;
     this.lensflareIntensity           = 1f;
     this.lensflareThreshhold          = 0.3f;
     this.flareColorA                  = new Color(0.4f, 0.4f, 0.8f, 0.75f);
     this.flareColorB                  = new Color(0.4f, 0.8f, 0.8f, 0.75f);
     this.flareColorC                  = new Color(0.8f, 0.4f, 0.8f, 0.75f);
     this.flareColorD                  = new Color(0.8f, 0.4f, 0.0f, 0.75f);
     this.blurWidth                    = 1f;
 }
Exemplo n.º 2
0
 public BloomAndLensFlares()
 {
     this.screenBlendMode = BloomScreenBlendMode.Add;
     this.hdr = HDRBloomMode.Auto;
     this.sepBlurSpread = 1.5f;
     this.useSrcAlphaAsMask = 0.5f;
     this.bloomIntensity = 1f;
     this.bloomThreshhold = 0.5f;
     this.bloomBlurIterations = 2;
     this.hollywoodFlareBlurIterations = 2;
     this.lensflareMode = LensflareStyle34.Anamorphic;
     this.hollyStretchWidth = 3.5f;
     this.lensflareIntensity = 1f;
     this.lensflareThreshhold = 0.3f;
     this.flareColorA = new Color(0.4f, 0.4f, 0.8f, 0.75f);
     this.flareColorB = new Color(0.4f, 0.8f, 0.8f, 0.75f);
     this.flareColorC = new Color(0.8f, 0.4f, 0.8f, 0.75f);
     this.flareColorD = new Color(0.8f, 0.4f, 0.0f, 0.75f);
     this.blurWidth = 1f;
 }