Guide to Making a Beautiful Game: Decals in HDRP

Marcus Cohee
1 min readMay 22, 2022

Hello all!

Today, I will be going over decals! These are useful for making a scene look awesome, let’s see how!

See how it wraps around the edges?

Decals Rundown

Decals are used to display things like graffiti or grunge without making additional 3D objects. The way decal shader work in HDRP is by projecting the image onto an object. This is useful because the decal can wrap around an object like in the image above. Anything in that box I’m controlling will have the decal projected on it. Say you project the image on a sphere, the decal will wrap around the sphere without warping the decal too much!

And that is decals! You can turn any .PNG file into a decal if it has an alpha background, just add the shader HDRP/Decal to your material and try it out!

Next, I will be going over how to add fog in HDRP!

Thank you for your time!

--

--

Marcus Cohee

I am starting Unity and learning the ropes as I go! Let’s take this journey together!