Hello!
The last few days, i tried to figure out how to do blood and splatter stuff.
I've used "Decal System Pro" (Unity Asset Store) in "Ratz Instagib" in the past. But i had some issues with it.
All my Level meshes needed to be separated into 5000 triangle pieces, or else every decal projection caused a stutter.
Now i tried "Easy Decal" (also on the Asset Store), but the results were pretty much the same.
They introduced a "Plane Mesh projection" which is a good idea and that worked much faster, but didn't look very good.
So that's why i created my own simple Decal system.
It's basically just using raycasts, to project a runtime generated mesh onto any surface.
Then it removes any triangles that are to "steep" and adds black vertex colors to the edges of the mesh.
The vertex colors are used in the shader to fade out the Decal texture were the mesh got cut off.
All that is processed over multiple frames. So it never lags or stutters!
The resulting mesh is then combined into one large mesh to save draw calls. And that is multi-threaded, so it wont lag either.
The blood textures need some work...
If you know a good game or reference that does blood stuff well, please let me know!
also...
did you notice the nice grass effect when the player moves over it?