Cyanilux/URP_RetroCRTShader
关于
📺📼 A shader graph which replicates some retro tv/monitor/vhs effects. CRT warping, scanlines, static, distortion, etc.
游戏与模拟器实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Retro CRT Shader (for Universal RP)
A shader graph which replicates some retro tv/monitor effects.
+ Updated for Unity 2022+
(now uses Fullscreen Graph & FullscreenPassRendererFeature rather than a custom one)
- For older version see branches

Effects include :
- CRT (cathode-ray tube) monitor warping
- Scanlines
- Image Distortion
- Static
- Scrolling glitchy static
- Vertical RGB subpixel / phosphor stripes
Repo also includes a multi-camera example setup to render the scene to a low-resolution render texture, to achieve a pixelated look. The main camera's culling mask is set to nothing, so the scene isn't rendered twice, and it uses a different Universal Renderer asset which uses the Retro CRT Shader/material in an Fullscreen Pass Render Feature to apply the shader to the screen, before additional post processing (Vignette, Film Grain, Chromatic Aberration)
Usage Notes :
- If want to apply to a regular Mesh Renderer (e.g. for a TV monitor), would need to swap the Graph type to Lit or Unlit.
- If you want to apply to screen without the second camera setup / pixelated look, swap the texture sample out in the graph for a
URP Sample Buffernode set to "Blit Source". Use the material with Fullscreen Pass Renderer Feature on the Universal Renderer asset used by your camera. - Most effects as listed above can be toggled on/off in the material inspector as the graph uses
shader_featurekeywords to create multiple shader variants. Only used variants will be included in build. Note that if you want to be able to toggle effects at runtime (using material.EnableKeyword), you would need to switch the keywords tomulti_compileinstead to force both on/off variants to be included.
Graph Screenshot :

Blog Post (on my old site) : https://cyangamedev.wordpress.com/2020/09/10/retro-crt-shader-breakdown/
探索相关项目
加载中…