Unity Shader Graph - Simple Toon Shader

Опубликовано: 29 Сентябрь 2024
на канале: Hovl Studio
2,324
103

Tutorial how to create a toon shader using the Shader Graph in the Unity game engine. Unity Shader Graph Tutorial.

Function to paste:

#if defined(SHADERGRAPH_PREVIEW)
Direction = half3(0.5, 0.5, 0);
Color = 1;
#else
Light light = GetMainLight();
Direction = light.direction;
Color = light.color;
#endif

Timecodes:
0:00 Toon shader.
3:09 Outline.
4:45 Amplify version of the shader.
---------------------------------------------------------------
My Instagram:   / hovl.vfx  
Asset Store: https://assetstore.unity.com/publishe...
Unreal Marketplace: https://www.unrealengine.com/marketpl...

The music in this video is from the YouTube library: Motor Hums - The 126ers

Tags: #ToonShader #Shader #Unity #UnityShader #ShaderGraph