three
Version:
JavaScript 3D library
50 lines (46 loc) • 883 B
TypeScript
import {
Uniform
} from '../../../src/Three';
export const SSAOShader: {
defines: {
PERSPECTIVE_CAMERA: number;
KERNEL_SIZE: number;
};
uniforms: {
tDiffuse: Uniform;
tNormal: Uniform;
tDepth: Uniform;
tNoise: Uniform;
kernel: Uniform;
cameraNear: Uniform;
cameraFar: Uniform;
resolution: Uniform;
cameraProjectionMatrix: Uniform;
cameraInverseProjectionMatrix: Uniform;
kernelRadius: Uniform;
minDistance: Uniform;
maxDistance: Uniform;
};
vertexShader: string;
fragmentShader: string;
};
export const SSAODepthShader: {
defines: {
PERSPECTIVE_CAMERA: number;
};
uniforms: {
tDepth: Uniform;
cameraNear: Uniform;
cameraFar: Uniform;
};
vertexShader: string;
fragmentShader: string;
};
export const SSAOBlurShader: {
uniforms: {
tDiffuse: Uniform;
resolution: Uniform;
};
vertexShader: string;
fragmentShader: string;
};