---
title: "VHS Effect (Library) - s&box library"
description: "Now go and make backrooms gamemode with that"
canonical: "https://sbox.watch/zh-cn/libraries/vandercat/vhs_library/"
generated_at: "2026-11-27T14:13:25.518Z"
---

# VHS Effect (Library)

Now go and make backrooms gamemode with that

- 类型: 库
- 标识符: vandercat.vhs_library
- 创作者: VanderCat
- 规范地址: https://sbox.watch/zh-cn/libraries/vandercat/vhs_library/
- Markdown: https://sbox.watch/zh-cn/libraries/vandercat/vhs_library/index.md
- sbox.game: https://sbox.game/vandercat/vhs_library/
- 生成时间: 2026-11-27T14:13:25.518Z

## 统计

- 24小时热度: +0
- Terry 评分: 65%
- 收藏: 13
- 好评: 5
- 差评: 0
- 更新时间: 2023年6月2日
- 创建时间: 2023年5月18日
- 大小: 191.1 KB
- 文件: 5
- 标签: analog, vhs, effect, filter, postprocessing

## 描述

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)
