Uploaded December 2023 | Updated September 2026, 2 hours ago
In this tutorial you'll learn 3 different ways to have lights flicker or twinkle in a shader (no code required!).
Since it's the end of year holiday season, Christmas lights were on my mind, but this can be applied in a Horror game, Halloween updates, Christmas, and all kinds of other use cases in your game.
🔶 ALL THINGS LlamAcademy now available at: https://llamacademy.dev/support including latest tutorials, courses, ways to support, and more! Check it out 🙂
👨💻 Get the FULL FREE PROJECT on GitHub: github.com/llamacademy/shadergraph-twinkle-lights
🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: jetbrains.com/store/?section=personal&billing=yearly
📚 Resources:
🟠 ShaderGraph Course: gamedev.tv/p/unity-shader-graph?coupon_code=LLAMACADEMY&affcode=45216_kuvg0bp7
🟠 Flickering Emissive in C# (code): youtube.com/watch?v=XlWy0kXfItA
🟠 Rectangle Docs: docs.unity3d.com/Packages/com.unity.shadergraph@14.0/manual/Rectangle-Node.html
Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.
Chapters:
00:00 What you'll learn
02:16 Initial Shader Configuration
04:28 Effect 1 - Random Flickering
06:32 Effect 2 - Patterned Flicker
08:45 Effect 3 - Light Wipe
10:24 Consider Emission Color & Intensity
10:50 Closing Thoughts & Support LlamAcademy
In this tutorial you'll learn 3 different ways to have lights flicker or twinkle in a shader (no code required!).
Since it's the end of year holiday season, Christmas lights were on my mind, but this can be applied in a Horror game, Halloween updates, Christmas, and all kinds of other use cases in your game.
🔶 ALL THINGS LlamAcademy now available at: https://llamacademy.dev/support including latest tutorials, courses, ways to support, and more! Check it out 🙂
👨💻 Get the FULL FREE PROJECT on GitHub: github.com/llamacademy/shadergraph-twinkle-lights
🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: jetbrains.com/store/?section=personal&billing=yearly
📚 Resources:
🟠 ShaderGraph Course: gamedev.tv/p/unity-shader-graph?coupon_code=LLAMACADEMY&affcode=45216_kuvg0bp7
🟠 Flickering Emissive in C# (code): youtube.com/watch?v=XlWy0kXfItA
🟠 Rectangle Docs: docs.unity3d.com/Packages/com.unity.shadergraph@14.0/manual/Rectangle-Node.html
Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.
Chapters:
00:00 What you'll learn
02:16 Initial Shader Configuration
04:28 Effect 1 - Random Flickering
06:32 Effect 2 - Patterned Flicker
08:45 Effect 3 - Light Wipe
10:24 Consider Emission Color & Intensity
10:50 Closing Thoughts & Support LlamAcademy










