Uploaded December 2023 | Updated November 2026, 6 days ago
The depth buffer is instrumental in rendering objects correctly. Similarly, the depth texture is extremely helpful for creating certain effects. Learn how both work in Part 4 of this Shader Graph tutorial series!
I'm using Unity 2022.3.0f1, although these steps should look similar in previous and subsequent Unity versions.
------------------------------------------------------------------------
👇 Download the project on GitHub: github.com/daniel-ilett/shader-graph-basics-2022-3
💀 Get the zombie sprite: https://kenney.nl/assets/toon-characters-1
📦 Get the cyberounk character model: sketchfab.com/3d-models/cyberpunk-character-019f4b3fd3c74ed0bc6c8dbe9cd50d51
📰 Read this tutorial in article format instead: danielilett.com/2023-12-20-tut7-6-intro-to-shader-graph-part-4
------------------------------------------------------------------------
📚 Get a copy of my shader book here (affiliate): dpbolvw.net/click-100742141-12898971?url=https%3A%2F%2Flink.springer.com%2Fbook%2F10.1007%2F978-1-4842-8652-4
✨ Grab my Hologram Shaders Pro package here (affiliate): assetstore.unity.com/packages/vfx/shaders/hologram-shaders-pro-for-urp-hdrp-built-in-246720?aid=1101lfDLn
✨ Grab my Snapshot Shaders Pro package here (affiliate): assetstore.unity.com/packages/vfx/shaders/fullscreen-camera-effects/snapshot-shaders-pro-for-urp-hdrp-160556?aid=1101lfDLn
------------------------------------------------------------------------
💬 Join the Discord: discord.gg/tPQEUwPpb3
💖 Support me on Patreon: patreon.com/danielilett?fan_landing=true
☕ Or throw me a one-off coffee on Ko-fi: ko-fi.com/danielilett
------------------------------------------------------------------------
The depth buffer is instrumental in rendering objects correctly. Similarly, the depth texture is extremely helpful for creating certain effects. Learn how both work in Part 4 of this Shader Graph tutorial series!
I'm using Unity 2022.3.0f1, although these steps should look similar in previous and subsequent Unity versions.
------------------------------------------------------------------------
👇 Download the project on GitHub: github.com/daniel-ilett/shader-graph-basics-2022-3
💀 Get the zombie sprite: https://kenney.nl/assets/toon-characters-1
📦 Get the cyberounk character model: sketchfab.com/3d-models/cyberpunk-character-019f4b3fd3c74ed0bc6c8dbe9cd50d51
📰 Read this tutorial in article format instead: danielilett.com/2023-12-20-tut7-6-intro-to-shader-graph-part-4
------------------------------------------------------------------------
📚 Get a copy of my shader book here (affiliate): dpbolvw.net/click-100742141-12898971?url=https%3A%2F%2Flink.springer.com%2Fbook%2F10.1007%2F978-1-4842-8652-4
✨ Grab my Hologram Shaders Pro package here (affiliate): assetstore.unity.com/packages/vfx/shaders/hologram-shaders-pro-for-urp-hdrp-built-in-246720?aid=1101lfDLn
✨ Grab my Snapshot Shaders Pro package here (affiliate): assetstore.unity.com/packages/vfx/shaders/fullscreen-camera-effects/snapshot-shaders-pro-for-urp-hdrp-160556?aid=1101lfDLn
------------------------------------------------------------------------
💬 Join the Discord: discord.gg/tPQEUwPpb3
💖 Support me on Patreon: patreon.com/danielilett?fan_landing=true
☕ Or throw me a one-off coffee on Ko-fi: ko-fi.com/danielilett
------------------------------------------------------------------------










