UNPKG

@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.

46 lines (45 loc) 1.52 kB
import type { Nullable, Scene, EffectWrapperCreationOptions } from "../index.js"; import { EffectWrapper } from "../Materials/effectRenderer.js"; import { Camera } from "../Cameras/camera.js"; /** * @internal */ export declare class ThinSSAO2PostProcess extends EffectWrapper { private static readonly ORTHO_DEPTH_PROJECTION; private static readonly PERSPECTIVE_DEPTH_PROJECTION; static readonly FragmentUrl = "ssao2"; static readonly Uniforms: string[]; static readonly Samplers: string[]; protected _gatherImports(useWebGPU: boolean, list: Promise<any>[]): void; camera: Nullable<Camera>; private _textureWidth; get textureWidth(): number; set textureWidth(width: number); private _textureHeight; get textureHeight(): number; set textureHeight(height: number); private _samples; set samples(n: number); get samples(): number; totalStrength: number; radius: number; maxZ: number; minZAspect: number; base: number; private _epsilon; set epsilon(n: number); get epsilon(): number; private _scene; private _randomTexture; private _sampleSphere; constructor(name: string, scene: Scene, options?: EffectWrapperCreationOptions); bind(noDefaultBindings?: boolean): void; dispose(): void; private _createRandomTexture; private _bits; private _radicalInverseVdC; private _hammersley; private _hemisphereSampleUniform; private _generateHemisphere; private _getDefinesForSSAO; }