Do decals work on skinned meshes with VFX graph?

This video shows a demo of projecting decals from particle collision.

Is it possible for this to work with skinned meshes? Like for blood or bullet holes?

Hello,
It should work as long as “Receive decals” is enabled on the skinned mesh’s materials, and the decals are correctly enabled in the HDRP settings.

1 Like

Do they stick to the body?

Also does this work in Unity 6 URP?

If the position of the decals particles is set using a skinned mesh sampling and binded to the desired skinned mesh vertices, then it will stick to the body. Otherwise the decal will be only visible on the objects that are at the same position than the particle, so if the skinned mesh moves but not the particles because it’s not linked, the decal will not be on the skinned mesh anymore.

Yes it works on unity 6 URP :slight_smile:

1 Like

Awesome! Looking forward to trying this!

1 Like

I will add that you have a VFXGraph example with Particle Decals sticking to an animated SkinnedMesh in the new Learning Sample package in Unity 6.

  • import the package
  • open the scene (either the URP or HDRP scene depending on your project)
  • Naviguate until you find the Decal Particles example.
  • Press the Play Button.
  • Don’t hesitate to open the VFXGraph asset to see how it has been made and the comments/notes inside it.

More instructions regarding this Learning sample package (how to install, how to use, etc…) can be found on this page
9834174--1414620--Unity_23bIUytQfU.gif

I hope this will help, and don’t hesitate to share your results.

4 Likes