@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
26 lines (25 loc) • 794 B
JavaScript
/**
* Contains all parameters needed for the prepass to perform
* screen space reflections
*/
export class ScreenSpaceReflections2Configuration {
/**
* @param useScreenspaceDepth If the effect should use the screenspace depth texture instead of a linear one
*/
constructor(useScreenspaceDepth = false) {
/**
* Is ssr enabled
*/
this.enabled = false;
/**
* Name of the configuration
*/
this.name = "screenSpaceReflections2";
/**
* Textures that should be present in the MRT for this effect to work
*/
this.texturesRequired = [6, 3];
this.texturesRequired.push(useScreenspaceDepth ? 10 : 5);
}
}
//# sourceMappingURL=screenSpaceReflections2Configuration.js.map