download
raw
1.07 kB
/**
* Film grain & scanlines shader
*
* - ported from HLSL to WebGL / GLSL
* http://www.truevision3d.com/forums/showcase/staticnoise_colorblackwhite_scanline_shaders-t18698.0.html
*
* Screen Space Static Postprocessor
*
* Produces an analogue noise overlay similar to a film grain / TV static
*
* Original implementation and noise algorithm
* Pat 'Hawthorne' Shearon
*
* Optimized scanlines + noise version with intensity scaling
* Georg 'Leviathan' Steinrohder
*
* This version is provided under a Creative Commons Attribution 3.0 License
* http://creativecommons.org/licenses/by/3.0/
*/
export declare const FilmShader: {
uniforms: {
tDiffuse: {
value: null;
};
time: {
value: number;
};
nIntensity: {
value: number;
};
sIntensity: {
value: number;
};
sCount: {
value: number;
};
grayscale: {
value: number;
};
};
vertexShader: string;
fragmentShader: string;
};

Xet Storage Details

Size:
1.07 kB
·
Xet hash:
dce7458074be9b5d120e33accb019b6f65c7ed52e3440a204fe61e3f642cdefd

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.