How to Create Hologram Effects in Unity URP with Shader Graph
Kaz Chang, a Senior 3D Artist and Generalist with over nine years of industry experience, recently shared a detailed workflow for creating two distinct hologram effects inside the Unity Universal Render Pipeline (URP) using Shader Graph. Having earned a master’s degree in Computer Arts from the School of Visual Arts, Chang has contributed to a wide range of projects, including PC games, immersive virtual reality experiences, and drone show animations with companies like SlingshotVR and Sky Elements. His professional background spans environment art, character creation, rigging, animation, and custom shaders.
In his latest exploration, Chang focused on developing a versatile fullscreen hologram effect that can be applied uniformly across an entire scene. This shader features animated dots, highlighted edges, and moving surface lines, all designed to give developers high levels of customization without altering the underlying materials of individual objects. The effect incorporates several adjustable parameters, including colors, pattern density, animation speed, rotation, and line thickness.
To achieve the desired look, the setup begins by generating custom UV coordinates based on world-space normals and positions rather than relying on standard mesh UVs. By utilizing cross products, two distinct directions are calculated from the surface normal, allowing the world position to be projected onto them. This technique produces the foundational coordinate system required for the procedural dot pattern and the dynamic surface lines that travel across the environment.
Edge detection is handled through a dual approach combining world-space normal comparisons and screen color evaluations. These methods analyze neighboring pixels to identify variations in surface direction and color, using adjustable thresholds to determine the level of fine detail visible in the final render. Meanwhile, the repeating dot pattern is generated using the custom UVs combined with a pseudo-random function that varies individual dot positions, creating circular masks refined via Smoothstep for optimal radius control and outer glow layering.
Motion is introduced to the surface lines by integrating time variables with customizable rotation, density, and thickness settings, while an object mask prevents the visual elements from bleeding into the background. To pull the entire aesthetic together, Chang recommends enabling Bloom within a Global Volume component in Unity. Adjusting the intensity and threshold settings of the Bloom post-processing effect delivers the characteristic glowing sci-fi appearance seen in the final demonstration. Developers interested in exploring the setup further can examine Chang’s detailed video walkthrough on Shader Graph or download the project files for free via his Gumroad page.