The third devlog about my yet to be named cozy creature collecting and management game. This one covers my initial implementation of cel shading in Unity.
✔️ Corrections
None yet! 🤞 If you find some information that is wrong or some visualization that looks buggy, please let me know, it’s very much appreciated!
🔗Socials
Follow me on Twitter
https://twitter.com/rockadudle1
Follow me on Instagram
https://www.instagram.com/robinseibold/
📚References
Custom Lighting in Shader Graph: Expanding your graphs in 2019 (https://blog.unity.com/technology/custom-lighting-in-shader-graph-expanding-your-graphs-in-2019) by Alex Lindman
Toon Shader (https://roystan.net/articles/toon-shader.html) by Erik Roystan Ross
Creating Custom Lighting in Unity’s Shader Graph with Universal Render Pipeline (https://nedmakesgames.medium.com/creating-custom-lighting-in-unitys-shader-graph-with-universal-render-pipeline-5ad442c27276) by NedMakesGames
Unity Library Files referenced in the video:
RealtimeLights.hlsl (https://github.com/Unity-Technologies/Graphics/blob/master/Packages/com.unity.render-pipelines.universal/ShaderLibrary/RealtimeLights.hlsl)
Shadows.hlsl (https://github.com/Unity-Technologies/Graphics/blob/master/Packages/com.unity.render-pipelines.universal/ShaderLibrary/Shadows.hlsl)
🎵 Songs Used
Kupla - Evening Tide https://chll.to/e541bb17
Flitz&Suppe, Leavv - Hidden Structure https://chll.to/af71d4c2
Kupla - Moss https://chll.to/24b6f5df
DivKid - Polaroid Memories
📖 Chapters
0:00 Intro Scene
0:23 Introduction
0:36 Devlog Subject Description
0:54 Initial Setup
2:12 Custom Lighting Diffuse Term
3:18 Custom Lighting Specular Term
4:37 Custom Lighting Rim Term
5:20 Custom Lighting Shadows
6:10 Custom Lighting Additional Lights
7:08 Custom Lighting Distance Attenuation
7:24 Cel Shading
8:35 Outro Scene
#devlog #gamedev #madewithunity #indiegame #indiedev #unity