Rendering Wounds on Characters in UE4

Earlier this week I tweeted about hit-masking characters to show dynamic blood and wounds. Today I’d like to talk a little about the effect and how it came to be. I’ll talk a little bit about the technical details and some alternatives. The effect is a proof of concept to try and find a cheaper […]

Outlining Shadows in Unreal Engine 4

I’ve done multiple blog posts about rendering outlines in Unreal Engine 4 in the past. So when I had this idea of outlining shadows instead of objects, I figured it would be fun to simply build it as a quick experiment, just like my last Dr. Facilier textured shadows post. I enjoy these unusual experiments and I […]

Disney’s Dr. Facilier shadow effect in Unreal Engine 4

This weekend I stumbled upon a reddit post about Dr. Facilier’s interesting shadow in The Princess and the Frog and it inspired me to experiment with Forward shading in Unreal Engine 4 to re-create a similar effect in real-time shading. OP pointed out that The Shadow Man’s shadow changes the wallpaper his shadow is cast […]

Multi-color Outline Post Process in Unreal Engine 4

With some of the recent changes to Unreal Engine 4, rendering multi-color outlines is now possible! This is done through the use of Custom Stencil, a new buffer similar to Custom Depth – but allowing meshes to render as integer values. This provides us with a 1-255 range of indices that can be used to […]

Circular Progress Bar for UMG

We recently added a new locking feature to Switch for which we needed to have progress feedback. For this I built a circular progress bar in UMG. I’m giving away the material to use in your own projects. The download link is at the bottom. If you wish to learn more about the effect, keep reading […]

Recreating Dirty Bomb’s Health Station FX

Dirty Bomb is a first person shooter currently in open beta. I’ve been playing it for a bit and am really enjoying the game. As usual some of the effects caught my eye and got me thinking how they built these exact shaders. In particular the pulse effect from the Health Station by one of […]

Distance Fields in Unreal Engine

Unreal Engine leverages the power of Signed Distance Fields for Ambient Occlusion and more recently added Ray Traced Distance Field Soft Shadows. I will briefly discuss and demonstrate both effects as a result of some early research to consider using these techniques for our game. Since the core of Switch’s design hinges on fully dynamic […]

[Tutorial] Gradient Fresnel Shading for Cinematic Lighting in Unreal 4

Background During the Unreal 4 Beta I experimented a lot with materials, one of these experiments was inspired by Star Wars: The Old Republic’s cinematic character lighting presentation. I wondered how their ambient fresnel shading could be replicated in Unreal 4 and ended up with something that closely resembles the original shading results. After several […]

Custom Depth in Unreal Engine 4

Unreal Engine 4 introduced a new depth buffer along with their PBR rendering system. It’s called “Custom Depth” and can be used for effects like the selection outline that is built-in the Editor, rendering of occluded meshes or custom culling of transparency. I will discuss some of the basics of using this buffer in the material editor […]