Daniel Ilett | Decals & Stickers in Unity Shader Graph and URP @danielilett | Uploaded September 2021 | Updated October 2024, 1 hour ago.
Decals have been available natively in HDRP for a while now, but not URP. Luckily, there are ways to add our own. In this tutorial, learn how to use some neat tricks involving space transformations and the depth buffer to make decals of our own which project a texture onto flat or curved surfaces!
------------
โจ Based on NiloCat's fantastic implementation of URP decals: github.com/ColinLeung-NiloCat/UnityURPUnlitScreenSpaceDecalShader
๐ Download the project on GitHub: github.com/daniel-ilett/decals-urp
------------
๐ฎ This project uses Unity 2020.3.2f1 and URP 10.4.0, but it should work with other versions.
------------
๐ Get a copy of my shader book here: dpbolvw.net/click-100742141-12898971?url=https%3A%2F%2Flink.springer.com%2Fbook%2F10.1007%2F978-1-4842-8652-4
โจ Grab Snapshot Shaders Pro here: 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
#unity #shaders #decals
Decals have been available natively in HDRP for a while now, but not URP. Luckily, there are ways to add our own. In this tutorial, learn how to use some neat tricks involving space transformations and the depth buffer to make decals of our own which project a texture onto flat or curved surfaces!
------------
โจ Based on NiloCat's fantastic implementation of URP decals: github.com/ColinLeung-NiloCat/UnityURPUnlitScreenSpaceDecalShader
๐ Download the project on GitHub: github.com/daniel-ilett/decals-urp
------------
๐ฎ This project uses Unity 2020.3.2f1 and URP 10.4.0, but it should work with other versions.
------------
๐ Get a copy of my shader book here: dpbolvw.net/click-100742141-12898971?url=https%3A%2F%2Flink.springer.com%2Fbook%2F10.1007%2F978-1-4842-8652-4
โจ Grab Snapshot Shaders Pro here: 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
#unity #shaders #decals