Beispiel #1
0
 public DepthOfField34()
 {
     this.quality                  = Dof34QualitySetting.OnlyBackground;
     this.resolution               = DofResolution.Low;
     this.simpleTweakMode          = true;
     this.focalPoint               = 1f;
     this.smoothness               = 0.5f;
     this.focalZStartCurve         = 1f;
     this.focalZEndCurve           = 1f;
     this.focalStartCurve          = 2f;
     this.focalEndCurve            = 2f;
     this.focalDistance01          = 0.1f;
     this.bluriness                = DofBlurriness.High;
     this.maxBlurSpread            = 1.75f;
     this.foregroundBlurExtrude    = 1.15f;
     this.bokehDestination         = BokehDestination.Background;
     this.widthOverHeight          = 1.25f;
     this.oneOverBaseSize          = 0.001953125f;
     this.bokehSupport             = true;
     this.bokehScale               = 2.4f;
     this.bokehIntensity           = 0.15f;
     this.bokehThreshholdContrast  = 0.1f;
     this.bokehThreshholdLuminance = 0.55f;
     this.bokehDownsample          = 1;
 }
Beispiel #2
0
 public void Copy(DepthOfFieldDeprecatedBase copy)
 {
     quality               = copy.quality;
     resolution            = copy.resolution;
     simpleTweakMode       = copy.simpleTweakMode;
     focalPoint            = copy.focalPoint;
     smoothness            = copy.smoothness;
     focalZDistance        = copy.focalZDistance;
     focalZStartCurve      = copy.focalZStartCurve;
     focalZEndCurve        = copy.focalZEndCurve;
     objectFocus           = copy.objectFocus;
     focalSize             = copy.focalSize;
     bluriness             = copy.bluriness;
     maxBlurSpread         = copy.maxBlurSpread;
     foregroundBlurExtrude = copy.foregroundBlurExtrude;
     dofBlurShader         = copy.dofBlurShader;
     dofShader             = copy.dofShader;
     visualize             = copy.visualize;
     bokehDestination      = copy.bokehDestination;
     bokeh                   = copy.bokeh;
     bokehSupport            = copy.bokehSupport;
     bokehShader             = copy.bokehShader;
     bokehTexture            = copy.bokehTexture;
     bokehScale              = copy.bokehScale;
     bokehIntensity          = copy.bokehIntensity;
     bokehThresholdContrast  = copy.bokehThresholdContrast;
     bokehThresholdLuminance = copy.bokehThresholdLuminance;
 }