ソースを参照

Fix Inspector Tone Mapping

sebavan 6 年 前
コミット
7f5e8867e2
1 ファイル変更13 行追加0 行削除
  1. 13 0
      src/PostProcesses/imageProcessingPostProcess.ts

+ 13 - 0
src/PostProcesses/imageProcessingPostProcess.ts

@@ -177,6 +177,19 @@ export class ImageProcessingPostProcess extends PostProcess {
     }
 
     /**
+     * Gets the type of tone mapping effect.
+     */
+    public get toneMappingType(): number {
+        return this._imageProcessingConfiguration.toneMappingType;
+    }
+    /**
+     * Sets the type of tone mapping effect.
+     */
+    public set toneMappingType(value: number) {
+        this._imageProcessingConfiguration.toneMappingType = value;
+    }
+
+    /**
      * Gets contrast used in the effect.
      */
     public get contrast(): number {