Halftone Effect in Unity Shader Graph and URP

Опубликовано: 28 Февраль 2026
на канале: Daniel Ilett
28,481
802

Halftone is a technique used for printing where tiny dots of different colors and sizes are layered to look like a full-colour image. In this video, I use Shader Graph to implement a similar technique, where the shaded regions of the image are converted into differently-sized darkened dots.
------------
👇 Download the project on GitHub: https://github.com/daniel-ilett/shade...
📰 Read this tutorial in article format instead: https://danielilett.com/2022-07-28-tu...
🎮 This project uses Unity 2021.3.0f1 (LTS) and URP 12.1.6, but it should work with other versions.
------------
📚 Get a copy of my shader book here: http://www.dpbolvw.net/click-10074214...
🎨 Triceratops model by Zacxophone: https://sketchfab.com/3d-models/anima...
✨ Grab Snapshot Shaders Pro here: https://assetstore.unity.com/packages...
------------
💬 Join the Discord:   / discord  
💖 Support me on Patreon: https://www.patreon.com/danielilett?f...
☕ Or throw me a one-off coffee on Ko-fi: https://ko-fi.com/danielilett
------------
00:00 Introduction
00:32 How It Works
01:12 Lighting.hlsl Code
02:12 GetMainLight Subgraph
03:23 Halftone Properties
05:50 Halftone Behavior
10:28 Usage Examples

#gamedev #shaders #madewithunity