瀏覽代碼

update default chromatic aberration to modify the image to match behavior of other effects

Trevor Baron 7 年之前
父節點
當前提交
b622dea981
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/PostProcess/babylon.chromaticAberrationPostProcess.ts

+ 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)