filmov
tv
More Toon Outlines! Normal Edge Detection in Unity URP Shader Graph! ✔️ 2020.3 | Game Dev Tutorial

Показать описание
✔️ Works in 2020.1 ➕ 2020.2 ➕ 2020.3 🩹 Fixes
For 2020.2:
► When you create a shader graph, set the material setting to "Unlit"
► The gear menu on Custom Function nodes is now in the graph inspector
► Editing properties must be done in the graph inspector instead of the blackboard
Outlines are a great way to add polish and style to a variety of games! In this tutorial, I show how to improve edge detection outlines by incorporating depth normals. I also refine the outlines, eliminating artifacts on far away objects. In the process, I show how to write a renderer feature to generate the depth normal texture and compute view direction from a screen space UV.
👋 Subscribe for weekly game development videos!
👑 Join my Patreon for extra influence over topics, early access to videos, and downloadable project files!
🔗 Check out my website for a searchable list of tutorials!
🎬 Previous videos
✨Follow up videos
📜 Required scripts
📚 Reference scripts
⏲️ Timestamps:
0:00 Intro
0:34 Project setup
0:53 Depth normals feature
4:29 Adding normals edge outlines
7:07 Shallow angle adjustments
10:25 Non-linear depth adjustments
11:13 Far away normals adjustments
12:11 Optimizations
12:38 Wrap up and credits
🎖️ Credits and references:
#GameDev #IndieDev #Unity
For 2020.2:
► When you create a shader graph, set the material setting to "Unlit"
► The gear menu on Custom Function nodes is now in the graph inspector
► Editing properties must be done in the graph inspector instead of the blackboard
Outlines are a great way to add polish and style to a variety of games! In this tutorial, I show how to improve edge detection outlines by incorporating depth normals. I also refine the outlines, eliminating artifacts on far away objects. In the process, I show how to write a renderer feature to generate the depth normal texture and compute view direction from a screen space UV.
👋 Subscribe for weekly game development videos!
👑 Join my Patreon for extra influence over topics, early access to videos, and downloadable project files!
🔗 Check out my website for a searchable list of tutorials!
🎬 Previous videos
✨Follow up videos
📜 Required scripts
📚 Reference scripts
⏲️ Timestamps:
0:00 Intro
0:34 Project setup
0:53 Depth normals feature
4:29 Adding normals edge outlines
7:07 Shallow angle adjustments
10:25 Non-linear depth adjustments
11:13 Far away normals adjustments
12:11 Optimizations
12:38 Wrap up and credits
🎖️ Credits and references:
#GameDev #IndieDev #Unity
Комментарии