Browse Source

update default values for coc

Trevor Baron 7 years ago
parent
commit
c4b2f90276
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/PostProcess/babylon.circleOfConfusionPostProcess.ts

+ 2 - 3
src/PostProcess/babylon.circleOfConfusionPostProcess.ts

@@ -2,9 +2,8 @@ module BABYLON {
     export class CircleOfConfusionPostProcess extends PostProcess {
         lensSize = 50 // in scene units/1000 (eg. millimeter)
         fStop = 1.4; // Aperture = lensSize/fStop
-        focusDistance = 15000; // in scene units/1000 (eg. millimeter)
-        focalLength = 500; // in scene units/1000 (eg. millimeter)
-
+        focusDistance = 2000; // in scene units/1000 (eg. millimeter)
+        focalLength = 50; // in scene units/1000 (eg. millimeter)
         
         constructor(name: string, depthTexture: RenderTargetTexture, options: number | PostProcessOptions, camera: Camera, samplingMode?: number, engine?: Engine, reusable?: boolean, textureType: number = Engine.TEXTURETYPE_UNSIGNED_INT) {
             super(name, "circleOfConfusion", ["cameraMinMaxZ", "focusDistance", "cocPrecalculation"], ["depthSampler"], options, camera, samplingMode, engine, reusable, null, textureType);