| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- import { Constants } from "../Engines/constants";
- 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[] = [
- Constants.PREPASS_DEPTHNORMAL_TEXTURE_TYPE
- ];
- /**
- * Builds a ssao2 configuration object
- * @param scene The scene
- */
- constructor() {
- }
- /**
- * Disposes the configuration
- */
- public dispose() {
- // pass
- }
- }
|