Note: If you are coming from the older URP Glitch video, you need to download the older
2021.3.8f1+
package from the Releases section.
URP Glitch is a glitch effect for the Universal Render Pipeline (URP), originally based on mao-test-h's project, which in turn was inspired by keijiro's HDRP Glitch effect. This effect has been tested on Unity versions 6000.0.0f1
and 6000.0.23f1
.
Tutorial - https://youtu.be/JFDuHaWDUvo
- Open Package Manager in Unity (Window → Package Manager).
- Click the + icon in the top-left corner.
- Select Install package from Git URL...
- Paste the following URL and click Install:
https://github.com/saimarei/URPGlitch.git
- Navigate to your project folder in the file explorer.
- Open the
Packages
folder and locate themanifest.json
file. - Add this line in the
"dependencies"
section:You can place it:"com.subbu.urp-glitch": "https://github.com/saimarei/URPGlitch.git",
- At the beginning of
"dependencies"
:{ "dependencies": { "com.subbu.urp-glitch": "https://github.com/saimarei/URPGlitch.git", "com.unity.collab-proxy": "2.5.2", ... } }
- After any other dependency (with a comma after the previous entry):
{ "dependencies": { "com.unity.collab-proxy": "2.5.2", "com.subbu.urp-glitch": "https://github.com/saimarei/URPGlitch.git", ... } }
- At the end of the dependencies list (without a comma afterward):
{ "dependencies": { ... "com.unity.modules.xr": "1.0.0", "com.subbu.urp-glitch": "https://github.com/saimarei/URPGlitch.git" } }
- At the beginning of
- Download the package from the Releases section of the GitHub page.
- In Unity, right-click and select Import Package → Custom Package.
- Choose the downloaded package file. Beginners may want to import all files.
-
Add Glitch Render Feature:
- Locate your URP renderer asset in Unity.
- Click Add Render Feature.
- Choose the Analog/Digital Glitch Feature.
- Set the Shader field by selecting an appropriate shader (click the eye icon to reveal hidden shaders).
- In the Render Pass dropdown, choose After Rendering Transparents.
-
Configure Global Volume:
- In the Scene Hierarchy, create a volume: Right-click → Volume → Global Volume.
- Select the volume and create a New Profile.
- Add an override and select the Analog/Glitch Volume.
- Ensure Post-Processing is enabled on the main camera to apply the effect.
- Download and open the Sample Scene.
- Find the URP asset file in the project.
- In the Renderer List, click the + icon.
- Assign the 2D Sample Renderer or Sample Universal Renderer.
- The effect should now be active.
The settings object in the sample scene includes a script that demonstrates how to use buttons to control the effects programmatically.
This project is released under the same license as keijiro/KinoGlitch.