public final class FilmShader extends Shader
Based on three.js code
Ported from HLSL to WebGL / GLSL truevision3d.com
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
Modifier and Type | Class and Description |
---|---|
static interface |
FilmShader.Resources |
Shader.DefaultResources, Shader.PRECISION
Constructor and Description |
---|
FilmShader() |
addAttributes, addUniform, areCustomAttributesDirty, buildKernel, buildProgram, buildProgram, clearCustomAttributes, getAttributes, getAttributesLocations, getFragmentSource, getId, getProgram, getUniforms, getVertexSource, setAttributes, setFragmentSource, setPrecision, setUniforms, setVertexSource, toString, updateShaderSource, updateShaderSource