Many of us who aren't super comfortable writing our own shaders relied on 3rd party tools for decal projections or went with simple quads for decals. HDRP provides us a powerful and flexible tool out of the box to work with for projecting decals onto all kinds of surfaces.
In this tutorial I'll show how to enable decals in HDRP, review all the configuration options in the render asset and what they do, and go over what all the decal projector options do. With this you should have an informed starting point for adding decals into your game!
As always, all code from this video is available on GitHub: https://github.com/llamacademy/hdrp-decal-projector
- Decal Projector: https://docs.unity3d.com/Packages/[email protected]/manual/Decal-Projector.html
- Decal Shader: https://docs.unity3d.com/Packages/[email protected]/manual/Decal-Shader.html
- URP Repo: https://github.com/llamacademy/urp-decal-projector
Have you been getting value out of these tutorials? Do you believe in LlamAcademy's mission of helping everyone make their game dev dream become a reality? Consider becoming a Patreon supporter and get your name added to this list, as well as other cool perks. Head over to https://patreon.com/llamacademy to show your support.
- YOUR NAME HERE!
- YOUR NAME HERE!
- Andrew Bowen
- Gerald Anderson
- AudemKay
- Paul Berry
- Matt Parkin
- YOUR NAME HERE!
- Bastian
- Trey Briggs
- YOUR NAME HERE!
Interested in other AI Topics in Unity, or other tutorials on Unity in general?
- Requires Unity 2021.3 LTS or higher.
- Importing the Unity Particle Pack "Weapon Effects" folder for the wood texture and bullet hole texture.