Effects/PostProcessing.cs
using Sandbox.Rendering;

/// <summary>
/// FP4 retro post-processing effect. Uses the GoBack dithering shader.
/// Add this component to the same GameObject as the CameraComponent.
/// </summary>
[Title( "FP4 Post Process" )]
[Category( "Post Processing" )]
[Icon( "texture" )]
public sealed class FP4PostProcess : BasePostProcess
{
	static Material effectMaterial = Material.Load( "materials/postprocessing/postprocess.vmat" );

	public override void Render()
	{
		var blit = BlitMode.WithBackbuffer( effectMaterial, Stage.AfterUI, 500 );
		Blit( blit, "FP4PostProcess" );
	}
}