VHS Effect (Library)
| Summary | Now go and make backrooms gamemode with that |
|---|---|
| Description |
VHS Effect (Library) This is a library to add my shader into your project. How-To: 1. Create materials First of all you need to create materials with shader "vhs" and/or "interlacing". You can tweak different settings (they will be hot updated in game once you hook up the effect) 2. Create Render Hook Example: using VanderCat.Vhs; [SceneCamera.AutomaticRenderHook] public partial class VhsCamera : RenderHook { VhsEffect _vhsEffect = new("materials/vhs_effect.vmat"); public override void OnStage( SceneCamera target, Stage renderStage ) { if (renderStage != Stage.AfterPostProcess) return; _vhsEffect.Blit(); } } Note on noise: it must be a texture with rgba channels filled with noise (or whatever you want really, feel free to experiment) my texture was just a 256x256 image with Photoshop noise applied on it with gausian blur filter (1px)VHS Effect (Library)
This is a library to add my shader into your project.
How-To:
1. Create materials
First of all you need to create materials with shader "vhs" and/or "interlacing". You can tweak different settings (they will be hot updated in game once you hook up the effect)
2. Create Render Hook
Example:
using VanderCat.Vhs;
[SceneCamera.AutomaticRenderHook]
public partial class VhsCamera : RenderHook {
VhsEffect _vhsEffect = new("materials/vhs_effect.vmat");
public override void OnStage( SceneCamera target, Stage renderStage ) {
if (renderStage != Stage.AfterPostProcess) return;
_vhsEffect.Blit();
}
}
Note on noise:
it must be a texture with rgba channels filled with noise (or whatever you want really, feel free to experiment)
my texture was just a 256x256 image with Photoshop noise applied on it with gausian blur filter (1px)
|
| Votes | 5 0 13 |
| Error Rate | 0% |
| Usage |
3,538 players
4,374 sessions
308 hours playtime
4 minutes avg session
Totals captured
|
| Data | {} |