浏览代码

Merge branch 'master' of https://github.com/BabylonJS/Babylon.js

David Catuhe 7 年之前
父节点
当前提交
b2693ef89e

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

@@ -14,7 +14,7 @@
 - Added [VideoDome](http://doc.babylonjs.com/how_to/360videodome) class to easily support 360 videos ([DavidHGillen](https://github.com/DavidHGillen))
 - Added [GlowLayer](https://doc.babylonjs.com/how_to/glow_layer) to easily support glow from emissive materials ([sebavan](https://github.com/sebavan))
 - New [AssetContainer](http://doc.babylonjs.com/how_to/how_to_use_assetcontainer) Class and loading methods ([trevordev](https://github.com/trevordev))
-- Added depth of field, MSAA, sharpening, chromatic aberration and grain effect to the default pipeline ([trevordev](https://github.com/trevordev))
+- Added depth of field, sharpening, MSAA, chromatic aberration and grain effect to the default pipeline ([trevordev](https://github.com/trevordev))
 - Particle System SubEmitters- Spawn new Sub emitter when particles dies. Cone/Sphere shapes emitters ([IbraheemOsama](https://github.com/IbraheemOsama))
 
 ## Updates
@@ -88,7 +88,7 @@
 - Supports Environment Drag and Drop in Sandbox ([sebavan](https://github.com/sebavan))
 - EnvironmentHelper has no an onError observable to handle errors when loading the textures ([RaananW](https://github.com/RaananW))
 - (Viewer) Viewer supports model animations ([RaananW](https://github.com/RaananW))
-- Tests for sharpen, chromatic aberration and enable/disable post processes ([trevordev](https://github.com/trevordev))
+- Tests for sharpen, chromatic aberration, default pipeline and enable/disable post processes ([trevordev](https://github.com/trevordev))
 
 ## Bug fixes
 

+ 2 - 2
src/PostProcess/babylon.chromaticAberrationPostProcess.ts

@@ -4,9 +4,9 @@ module BABYLON {
      */
     export class ChromaticAberrationPostProcess extends PostProcess {
         /**
-         * The amount of seperation of rgb channels (default: 0)
+         * The amount of seperation of rgb channels (default: 30)
          */
-        aberrationAmount = 0;
+        aberrationAmount = 30;
 
         /**
          * The amount the effect will increase for pixels closer to the edge of the screen. (default: 0)

二进制
tests/validation/ReferenceImages/defaultPipeline.png


+ 9 - 3
tests/validation/config.json

@@ -280,13 +280,19 @@
     },
     {
       "title": "Chromatic aberration",
-      "playgroundId": "#NAW8EA",
+      "playgroundId": "#NAW8EA#0",
       "renderCount": 20,
       "referenceImage": "chromaticAberration.png"
     },
     {
+      "title": "Default pipeline",
+      "playgroundId": "#NAW8EA#3",
+      "renderCount": 20,
+      "referenceImage": "defaultPipeline.png"
+    },
+    {
       "title": "Kernel Blur",
-      "playgroundId": "#Y0WKT0",
+      "playgroundId": "#Y0WKT0#0",
       "referenceImage": "KernelBlur.png"
     },
     {
@@ -395,7 +401,7 @@
     },
     {
       "title": "Light Projection Texture",
-      "playgroundId": "#CQNGRK",
+      "playgroundId": "#CQNGRK#0",
       "referenceImage": "LightProjectionTexture.png"
     },
     {