VHS Effect (Library) - Version 17564

Created
Total Size177.3 KB (181,606 bytes)
File Count5
Engine Version10
Changes
Initial Release
Meta
{"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","Public":true}
{
  "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",
  "Public": true
}

Diff (0 B modified)

+5
No detailed diff available.