filmov
tv
Toon Shader in Unity Using a Shader Graph with Custom Lighting! ✔️ 2020.3 | Game Dev Tutorial
![preview_player](https://i.ytimg.com/vi/RC91uxRTId8/maxresdefault.jpg)
Показать описание
✔️ Works in 2020.1 ➕ 2020.2 ➕ 2020.3 🩹 For 2020.2 and .3:
► 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
► Add a normalize node after view direction to fix a bug in certain Unity versions.
Toon shaders, also called cel shaders, create a cartoon-like style with segmented shading. In this video, I'll show you how to create these shaders in Unity using Shader Graph. Features include: diffuse and specular lighting, color textures, shading ramp textures, shadows, and multiple light sources. The custom lighting techniques can be used in a variety of shaders down the line!
👋 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!
📚 Reference scripts
✨Follow up videos
⏲️ Timestamps:
0:00 Intro
1:00 Project setup
2:10 Simple (diffuse) lighting
5:39 Shading ramp textures
7:54 Color textures
8:57 Shadows
12:10 Specular lighting
14:59 Additional light sources
19:31 Wrap up and credits
🎖️ Credits and references:
#GameDev #IndieDev #Unity
► 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
► Add a normalize node after view direction to fix a bug in certain Unity versions.
Toon shaders, also called cel shaders, create a cartoon-like style with segmented shading. In this video, I'll show you how to create these shaders in Unity using Shader Graph. Features include: diffuse and specular lighting, color textures, shading ramp textures, shadows, and multiple light sources. The custom lighting techniques can be used in a variety of shaders down the line!
👋 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!
📚 Reference scripts
✨Follow up videos
⏲️ Timestamps:
0:00 Intro
1:00 Project setup
2:10 Simple (diffuse) lighting
5:39 Shading ramp textures
7:54 Color textures
8:57 Shadows
12:10 Specular lighting
14:59 Additional light sources
19:31 Wrap up and credits
🎖️ Credits and references:
#GameDev #IndieDev #Unity
Комментарии