decoder-filter-rgb

This shader does a horizontal three-tap blur or sharpen to each input scanline.

Index

Input Textures/Samplers

Uniform Buffer Values

Input Textures/Samplers

g_sourceTexture
                g_sourceTexture
              
Type
texture (platform-specific)
Description
The texture to sample.
g_sampler
                g_sampler
              
Type
sampler (platform-specific, does not exist on some platforms)
Description
The sampler to use to sample g_sourceTexture.

Uniform Buffer Values

g_blurStrength
                float g_blurStrength
              
Type
float
Description
This is the strength of the blur - 0.0 will leave the output texture unchanged from the input, 1.0 will do a full 3-texel average, and -1 will do a full sharpen.
g_stepSize
                float g_stepSize
              
Type
float
Description
The step between each sample, in texels. Usually scaled to be relative to the original input, which may have had a different resolution than our input texture due to the NTSC generation/decode process (if there's no original input, i.e. we're not using the NTSC signal generator and have gotten a signal straight from a real NTSC signal, then you'd just want to pick some nice-on-average value instead, possibly the width of the colorburst).