Edge Detection using the Scene Depth
A quick-and-dirty edge detection post effect, using a Material post effect node. Relies upon 3 scene depth buffers and does an offset + subtract to find the edges. This technique can be re-combined with the original frame buffer to create edge effects (toon / colored edge rendering). [Unreal Engine 3]

Shader graph (click to enlarge):

Edge Detection using the Frame Buffer
This uses the same technique, only applies it to the frame buffer (aka "Scene Texture" in UE3) instead of the scene depth. Some cool details can emerge when tinkering with the values a bit.

Shader graph (click to enlarge):

Update on Monday, April 26, 2010 at 11:23PM by
Dave Prout
UPDATE - I've completed an extensive tutorial on post effects in UDK, now available from eat3D. It includes an updated version of this technique. Check it out!
Reader Comments