Metadata
{
"ProjectTemplate": null,
"CsProjName": "",
"Compiler": {
"RootNamespace": "Sandbox",
"DefineConstants": "SANDBOX;ADDON;DEBUG",
"NoWarn": "1701;1702;1591;",
"References": [],
"DistinctReferences": []
},
"Summary": "Now go and make backrooms gamemode with that",
"Description": "This is a library to add my shader into your project.\n\n# How-To:\n\n## 1. Create materials\nFirst of all you need to create materials with shader \u0022vhs\u0022 and/or \u0022interlacing\u0022. You can tweak different settings (they will be hot updated in game once you hook up the effect)\n\n## 2. Create Render Hook\nExample:\n\u0060\u0060\u0060csharp\nusing VanderCat.Vhs;\n\n[SceneCamera.AutomaticRenderHook]\npublic partial class VhsCamera : RenderHook \n{\n VhsEffect _vhsEffect = new(\u0022materials/vhs_effect.vmat\u0022);\n\n public override void OnStage( SceneCamera target, Stage renderStage )\n {\n if (renderStage != Stage.AfterPostProcess) return;\n _vhsEffect.Blit();\n }\n}\n\u0060\u0060\u0060\n\n### Note on noise:\nit must be a texture with rgba channels filled with noise (or whatever you want really, feel free to experiment) \nmy texture was just a 256x256 image with noise applied on it in Photoshop and then gaussian blur with size of 1 pixel applied.",
"Public": true,
"ReplaceTags": "analog vhs effect filter postprocessing"
}
Files