logo80lv
Articlesclick_arrow
Talentsclick_arrow
Events
Workshops
Aboutclick_arrow
profile_login
Log in
0
Save
Copy Link
Share

How to Create Hologram Effects in Unity URP with Shader Graph

Kaz Chang shared the workflow behind two hologram effects made in Unity URP using Shader Graph, showing procedural techniques and an approach to creating customizable real-time visual effects.

Introduction

Hi there! I'm Kaz Chang, a Senior 3D Artist and Generalist with over 9 years of experience in 3D art and game development.

I earned my master's degree in Computer Arts from the School of Visual Arts (SVA). Throughout my career, I've worked on a variety of projects, ranging from PC games and immersive VR experiences to drone show animation, including my time at SlingshotVR and Sky Elements.

My work covers different aspects of 3D production, including environment art, character creation, rigging, animation, and shaders. I've always enjoyed exploring both the artistic and technical sides of 3D, especially experimenting with real-time rendering and visual effects in Unity and Unreal Engine.

Shader Graph has become one of the tools I enjoy working with, as it allows me to experiment with different visual styles and effects. These hologram shaders are some of the results of that exploration.

In this article, I'll share two hologram shaders I've worked on in Unity URP, along with a breakdown of how I created them.

Fullscreen Hologram Shader

I recently worked on a fullscreen hologram effect in Unity using URP and Shader Graph. The idea was to create a customizable hologram look that could be applied across an entire scene, with animated dots, highlighted edges, and moving surface lines.

The shader includes several adjustable parameters, such as colors, pattern density, animation speed, rotation, and line thickness.

In this breakdown, I'll go through five key parts of the shader and its setup, explaining how they work together.

I've also recorded a video walkthrough showing the Shader Graph setup and explaining the main sections in more detail.

Custom UV Projection

I started by creating custom UV coordinates using world-space normals and positions, instead of relying on the original mesh UVs.

Using cross products, I calculated two directions based on the surface normal, then projected the world position onto them. This generates the UV coordinates used for the hologram's dot pattern and surface lines.

Dual Edge Detection

For edge detection, I used two methods: one based on world-space normals and another based on screen colors.

Both methods compare neighboring pixels to detect differences in surface direction or color. I then used adjustable thresholds to control how much detail appears in the final hologram.

Procedural Dot Mask

Using the custom UVs from the previous section, I created a repeating dot pattern with adjustable density. I used a simple pseudo-random function to vary the position of each dot, then calculated the distance to its center to create a circular mask.

Finally, I used Smoothstep to control the dot radius and feather, with a separate layer for the outer glow. Both layers are combined to create the final dot pattern.

Animated Surface Lines

For the animated surface lines, I reused the custom UV coordinates from the first section.

By combining Time with adjustable parameters for rotation, density, and thickness, I can control how the lines move across the surfaces. I also added an object mask to prevent the lines from appearing in the background.

Additional Setup: Bloom

To get the full hologram glow effect, make sure to enable Bloom in your scene.

  1. Create a Global Volume (GameObject > Volume > Global Volume).
  2. Create or assign a Volume Profile.
  3. Click Add Override > Post-processing > Bloom.
  4. Enable Bloom and adjust the Intensity and Threshold to your preference.

Bloom is recommended for achieving the glowing hologram appearance shown in the preview.

Result

These components, along with the Bloom post-processing setup, come together to create the final fullscreen hologram effect.

The shader allows me to adjust the overall appearance without changing the original materials on individual objects.

If you want to see more of my project, go to my ArtStation page and download it for free on Gumroad.

Kaz Chang, Senior 3D Artist & Generalist

Built for the Game & Digital Art Industry
Get Our Media Kit

Comments

0

arrow
Type your comment here
Leave Comment
Built for the Game & Digital Art Industry
Get Our Media Kit