How to Make Toon Outlines in UE5

Episode
05
Duration
1h 30m 9s

Evans Bohl

Instructor

I'm a freelance trainer from Tahiti, passionate about teaching and sharing knowledge. I teach programming and algorithms, but what I'm most passionate about is teaching video game development.

In my spare time, I run a YouTube channel – Gamedev Teacher – where I post tutorials on Unreal Engine 4 and videos related to game creation. I'm also the lead singer of the band Heroes and Minivans.

Feel free to get in touch. I enjoy meeting new people.

About This Episode

Let's create the cleanest and most customizable Outline Shader possible in Unreal Engine 5 with this Definitive Guide to Outline Shading in UE5.

💙 If you like what I do, please consider supporting me on Patreon : https://www.patreon.com/evansbohl

✨ Buy the complete and fully commented UE5 project on my gumroad shop : https://evansbohl.gumroad.com/l/AdvancedOutlineShaderUE5

🚀 Assets for your Unreal Engine Projects :https://evansbohl.gumroad.com/

📚 Books to Level Up your Skills 📚
Game Programming Patterns : https://amzn.to/3Og1Omq
A Practical Guide to Indie Game Marketing : https://amzn.to/3EDhBZi
The Gamer's Brain : https://amzn.to/3OaARAm
Game Design Vocabulary : https://amzn.to/3V3Rtfi
Indie Games: From Dream to Delivery : https://amzn.to/3UGrKK1

🎥 My gear for recording videos 🎥
Elgato Stream Deck XL : https://amzn.to/3EdVjvB
Elgato Key Light : https://amzn.to/3Ec6uVO
Elgato Green Screen : https://amzn.to/3V3u1Py
My Webcam : https://amzn.to/3UGrTx3
Microphone Shure MV7 : https://amzn.to/3hPeN20
Headphones Beyerdynamic DT770 : https://amzn.to/3TIVyVk

📌 Chapters 📌

  • 00:00 Introduction

  • 01:11 How the Outline Shader Works

  • 03:07 Apply a Post Process Effect to the Scene

  • 05:56 Create a Passthrough Post Process Effect

  • 07:57 Get the Current Pixel and its Neighbors (Convolution Kernel)

  • 14:03 Detect Edges from Depth

  • 20:02 Add Depth Edge Detection to the Outline Shader

  • 23:29 Detect Edges from Normals

  • 27:39 Add Normal Edge Detection to the Outline Shader

  • 30:13 Modulate Depth Threshold from Grazing Angle View

  • 37:54 Modulate Outlines Strokes Thickness from Depth

  • 45:25 Fix the Stroke Thickness Modulation Bug

  • 47:57 Prevent Outlines from Showing on Far Actors

  • 55:10 Draw Outlines on Selected Actors (Custom Depth Buffer)

  • 01:02:56 How to Set Outlines Color on a Per Actor Basis (Stencil Buffer)

  • 01:04:29 Mutli-Colored Outlines : Simple Version

  • 01:09:52 Fix the Multi-Colored Outlines Bug

  • 01:15:30 Multi-Colored Outlines : Advanced Version

  • 01:19:56 Interactively Change Outlines Colors per Actor (Editor Utility Widget)

  • 01:29:00 Incoming Bloopers

  • 01:29:49 Evans.exe has stopped working

No comments yet…