Browse Source

forgotten file

Benjamin Guignabert 5 years ago
parent
commit
fec25b6417
1 changed files with 38 additions and 0 deletions
  1. 38 0
      src/Rendering/ssao2Configuration.ts

+ 38 - 0
src/Rendering/ssao2Configuration.ts

@@ -0,0 +1,38 @@
+import { PrePassRenderer } from "./prePassRenderer";
+import { PrePassEffectConfiguration } from "./prePassEffectConfiguration";
+import { _DevTools } from '../Misc/devTools';
+
+/**
+ * Contains all parameters needed for the prepass to perform
+ * screen space subsurface scattering
+ */
+export class SSAO2Configuration implements PrePassEffectConfiguration {
+    /**
+     * Is subsurface enabled
+     */
+    public enabled = false;
+
+    /**
+     * Name of the configuration
+     */
+    public name = "ssao2";
+
+    /**
+     * Textures that should be present in the MRT for this effect to work
+     */
+    public readonly texturesRequired: number[] = [
+        PrePassRenderer.DEPTHNORMAL_TEXTURE_TYPE
+    ];
+
+    /**
+     * Builds a ssao2 configuration object
+     * @param scene The scene
+     */
+    constructor() {
+
+    }
+
+    public dispose() {
+
+    }
+}