Free full-screen hologram shader for Unity URP
Developer Kaz Chang has released a full-screen hologram shader for Unity. It is built in Shader Graph for the Universal Render Pipeline (URP). The effect works as a separate full-screen render pass and gives the entire scene a holographic look: procedural dots, highlighted outlines and animated lines on surfaces. There is no need to assign a material to each object. The author offers the shader at a price from $0 and allows its use in personal and commercial projects.
Normally a hologram in Unity is made with a shader on a specific object's material. That is how the official Unity Learn tutorial works, for example: there the hologram shader is assigned to a model, and then vertex displacement is added so that the object's shape shifts and distorts slightly over time. Such an effect is tied to a single object. The full-screen variant turns the entire frame holographic at once. This approach will probably come in handy for a scanner mode, a character's special vision, or stylizing a whole scene.
What the effect is made of
According to the author's description, the shader combines three layers: a dot pattern, edge highlighting and animated lines.
"The effect combines procedural dot patterns, edge detection and animated surface lines, creating a holographic look across the entire scene," is how Kaz Chang describes the shader on its page.
- Custom UV projection. The shader builds the coordinates for the pattern itself from normals and world-space positions, so the dots and lines are tied to the surfaces of the scene geometry.
- Procedural dots. Dot density, radius and glow are adjustable.
- Dual edge highlighting. Edges are detected simultaneously from world-space normals and from screen colors, meaning the outline can show up both on geometry breaks and on color boundaries.
- Animated lines. Their speed, rotation, density and thickness are adjustable.
- Color control. The hologram colors and edge highlighting can be adjusted.
The archive includes the full-screen Shader Graph, a material and, if present in the package, a demo scene. There is a single archive, in ZIP format, weighing 7.2 MB. The page also announces two videos: a demonstration of the effect and a technical breakdown with a tutorial.
What you will need in the project
The shader requires Unity with URP, Shader Graph and the Full Screen Pass Renderer Feature. This is a standard URP feature that adds a full-screen pass to the renderer. The shader is not compatible with the Built-in Render Pipeline. The author specifically asks that you make sure the Full Screen Pass Renderer Feature is configured correctly. Which Unity and URP versions are supported is not stated on the page.
According to Unity's documentation, this feature has two key parameters. The first is the Injection Point: before transparent objects, before post-processing or after it. The default is "after post-processing". The second is the Requirements block, which adds auxiliary passes: depth, normals, color, motion vectors or all of them. The author does not specify on the page exactly where in the frame to place the hologram.
The shader can be downloaded on the Fullscreen Hologram page in the Gumroad store. The price is from $0: you can take it for free or pay whatever you like. The license permits personal and commercial projects but prohibits redistributing and reselling the source assets.
Who will find it useful and where the pitfalls are
For comparison: the Unity Asset Store has the paid Hologram Shader URP by Neko Legends for €8.28. It is listed as compatible with URP in Unity 6000.0.24f1, but not with Built-in and HDRP, and it requires an additional free demo asset package from the same author. Judging by the keywords on its page, it is aimed at effects such as holographic foil, glass and crystals. Kaz Chang's shader can be had for free, and it works with the entire frame. For a technical artist it is a ready-made graph that can be taken apart and reworked for their own project.
The limitations are worth considering in advance. The effect relies on world-space normals and positions, so the pass settings will probably need depth and normals generation enabled, and that is an additional load on the frame, especially noticeable on low-end and mobile devices. The author does not describe how the pass affects transparent objects and post-processing, so the injection point will most likely have to be found by trial and error. Projects on Built-in will be left without the effect. The license's ban on redistributing the sources means you will not be able to include the shader in your own asset pack for sale. What is literally permitted is use in personal and commercial projects.