Initial project import
This commit is contained in:
18
node_modules/three-stdlib/shaders/HorizontalBlurShader.d.ts
generated
vendored
Normal file
18
node_modules/three-stdlib/shaders/HorizontalBlurShader.d.ts
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Two pass Gaussian blur filter (horizontal and vertical blur shaders)
|
||||
* - described in http://www.gamerendering.com/2008/10/11/gaussian-blur-filter-shader/
|
||||
* and used in http://www.cake23.de/traveling-wavefronts-lit-up.html
|
||||
*
|
||||
* - 9 samples per pass
|
||||
* - standard deviation 2.7
|
||||
* - "h" and "v" parameters should be set to "1 / width" and "1 / height"
|
||||
*/
|
||||
import type { IUniform, Texture } from 'three';
|
||||
import type { IShader } from './types';
|
||||
export type HorizontalBlurShaderUniforms = {
|
||||
tDiffuse: IUniform<Texture | null>;
|
||||
h: IUniform<number>;
|
||||
};
|
||||
export interface IHorizontalBlurShader extends IShader<HorizontalBlurShaderUniforms> {
|
||||
}
|
||||
export declare const HorizontalBlurShader: IHorizontalBlurShader;
|
||||
Reference in New Issue
Block a user