Guide to Making a Beautiful Game: Decals in HDRP

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!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Marcus Cohee

Marcus Cohee

20 Followers

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