Decals & Stickers in Unity Shader Graph and URP

Опубликовано: 01 Ноябрь 2024
на канале: Daniel Ilett
29,812
707

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: https://github.com/ColinLeung-NiloCat...
👇 Download the project on GitHub: https://github.com/daniel-ilett/decal...
------------
🎮 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: http://www.dpbolvw.net/click-10074214...
✨ 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

#unity #shaders #decals