util-tracking-instability
Generate the instability value for a given scanline - used to emulate the horizontal jitter (instability) of a picture due to less-than-ideal signal quality.
Functions
Functions
- CalculateTrackingInstabilityOffset
-
float CalculateTrackingInstabilityOffset( uint scanlineIndex, uint noiseSeed, float scale, uint signalTextureWidth)Description
Generate the instability value for a given scanline.
Called by gen-phase and rgb-to-svideo-or-composite.
Parameters
scanlineIndex-
Type:
uintThe (0-based) index of the scanline to get the tracking instability offset from.
noiseSeed-
Type:
uintA seed value for noise generation, used to allow time-varying noise.
scale-
Type:
floatThe scale of the tracking instability.
signalTextureWidth-
Type:
uintThe width of the signal texture, in texels.
Return Value
Type: floatA noise value in the range
[0..1).