Tutorial: Wounds on Characters in Unreal
Events
Subscribe:  iCal  |  Google Calendar
1, Jul — 1, Aug
Cambridge GB   13, Jul — 17, Jul
San Diego US   19, Jul — 23, Jul
Torino IT   25, Jul — 29, Jul
Shanghai CN   3, Aug — 7, Aug
Latest comments
by Lewis Cowles
4 hours ago

Looks amazing

by aakashmishra0709@gmail.com
6 hours ago

Hey now you can easily recover your settings and data from your previous version of windows just visit our website and get the tutorial by which you will learn the process to continue outlook sync settings windows 10 operating system with the help of pictures in easy steps without any interruption.

by aakashmishra0709@gmail.com
6 hours ago

Hey thanks for this article, I have one of the most popular game to play just visit our website and play free spades online game on our homepage without any payment and without any app installation.

Tutorial: Wounds on Characters in Unreal
24 June, 2018
News

Check out a guide to hit-masking characters to show dynamic blood and wounds in Unreal by Tom Looman. The article explains a number of technical details and shows some alternatives you could use. 

Here is a small piece to get you interested:

We have a few decals types in our game like bullet impacts and blood splats we splat on walls behind damaged characters. These decals are attached to the component it hit, but if you were to attempt to do this on an animated mesh you’d notice the decal sliding over the surface which doesn’t look too great. I noticed this kind of sliding in PlayerUnknown’s Battlegrounds the other day, where they use traditional decals on characters, but a more stable solution is desirable especially for third person games where you constantly see your own character’s body. It does the trick with small decals where the problem isn’t as noticeable. Here is an exaggerated example of decal sliding:

I wanted to try and find a solution for this problem on our characters and I was inspired by Ryan Bruck’s GDC demos using Render Material to RenderTarget technique to splat spheres onto a character via a render target which can be used to mask wounds into the shader. Here is Ryan’s render target based damage implementation:

 

The effect is a lot more expensive than we were looking to budget however. It requires two render targets (for each character in the scene!), a mesh with unique UVs (UE4’s mannequin is not uniquely UV’ed for example, and requires modification outside of the engine to work) and have spiky performance costs at runtime due to rendering of TWO calls to render targets each time we hit the character which is an expensive operation (several milliseconds worth of spikyness). If you’re wondering why it requires two calls, let me explain.

Tom Looman 

You can find the full guide here

Leave a Reply

Be the First to Comment!

avatar
wpDiscuz