Selaa lähdekoodia

Update what s new.

sebastien 7 vuotta sitten
vanhempi
commit
00e233f7b1
2 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 1 0
      dist/preview release/what's new.md
  2. 1 1
      src/babylon.sceneComponent.ts

+ 1 - 0
dist/preview release/what's new.md

@@ -206,6 +206,7 @@
 - Oimo.js now receives quaternion and not euler when a body is being constructed ([RaananW](https://github.com/RaananW))
 - Improving visual quality on SSAO2 shader ([CraigFeldspar](https://github.com/CraigFeldspar))
 - Fixed a bug where changing the sample count on `PostProcess` would not update the WebGL Texture ([CraigFeldspar](https://github.com/CraigFeldspar))
+- Fixed multi camera support in defaultRenderingPipeline depth of field ([sebavan](http://www.github.com/sebavan))
 
 ### Viewer
 

+ 1 - 1
src/babylon.sceneComponent.ts

@@ -55,7 +55,7 @@
         public static readonly STEP_GATHERRENDERTARGETS_DEPTHRENDERER = 2;
         public static readonly STEP_GATHERRENDERTARGETS_POSTPROCESSRENDERPIPELINEMANAGER = 3;
 
-        public static readonly STEP_GATHERACTIVECAMERARENDERTARGETS_DEPTHRENDERER = 2;
+        public static readonly STEP_GATHERACTIVECAMERARENDERTARGETS_DEPTHRENDERER = 0;
 
         public static readonly STEP_POINTERMOVE_SPRITE = 0;
         public static readonly STEP_POINTERDOWN_SPRITE = 0;