I tried to re-create Death Stranding's Terrain Scan effect in Unity via custom full screen shader. This led me on a fascinating journey of discovering new techniques I haven't used before and opened my eyes on how many details get generally overlooked until you try and do them yourself. Join me on this second part of the journey as I complete the re-creation of the whole effect.
First part: https://youtu.be/wrs4g4hj9HY
Support us on Patreon: https://www.patreon.com/c/GameDevBuddies
Download source files: https://github.com/GameDevBuddies/Death-Stranding-Terrain-Scan
Sobel Outline Article: https://www.vertexfragment.com/ramblings/unity-postprocessing-sobel-outline/
Blending Nodes For Unity: https://docs.unity3d.com/Packages/[email protected]/manual/Blend-Node.html
00:00 Intro
00:43 Lines Aliasing Fix
01:28 Indicators Analysis
02:03 Initial Idea
02:27 Performance Overview
03:09 Optimization Solution
04:25 Optimized Solution Overview
05:29 Hacky Idea
06:29 Terrain Placement Overview
07:10 Indicators Rotation Issue
07:55 Indicators Rotation Overview
08:18 Shape And Color Analysis
08:44 Shape And Color Solution
10:05 Shape And Color Overview
10:50 Normals Visualization
12:05 Handling Water
12:52 Water Indicators Overview
13:07 Special Terrain Types
14:40 Special Terrain Types Demo
15:03 Secondary Analysis
15:54 Movement Animation
16:15 Opacity Animation
16:50 Red Indicators Analysis
17:53 Red Indicators Implementation
18:50 Red Indicators Demo
19:06 Footsteps Analysis
20:25 Footsteps Implementation
21:54 Footsteps Demo
22:36 Footsteps Highlight Demo
23:25 Special Outline Analysis
24:10 Special Outline Implementation
24:41 Special Outline Demo
24:58 Final Effect Overview
Assets used for this video:
Terrain Demo Scene: https://assetstore.unity.com/packages/3d/environments/unity-terrain-urp-demo-scene-213197
Adam Character: https://assetstore.unity.com/packages/3d/characters/adam-character-pack-adam-guard-lu-74842
Third Person Controller:
https://assetstore.unity.com/packages/essentials/starter-assets-character-controllers-urp-267961
#unity #gamedev #shaders #csharp #gamedevelopment #tutorial #programming #technology #tech