Uploaded February 2025 | Updated September 2026, 2 weeks ago
In today's shader tutorial, I show how to write the code required to support multiple light sources when creating a custom lighting model in Unity.
Here's the code - so you don't have to type it all out:
bencloward.com/youtube/lights.txt
Here are two tutorials showing how to customize the lighting model in Unreal Engine:
dev.epicgames.com/community/learning/tutorials/2R5x/unreal-engine-new-shading-models-and-changing-the-gbuffer
dev.epicgames.com/community/learning/tutorials/ow0x/unreal-engine-custom-shading-models-directly-in-your-material-graphs
Take a look at the playlist for the whole series:
youtube.com/playlist?list=PL78XDi0TS4lGnGa7L2X4o3UV-XYZEKNwj
Here's last week's video on using light color and shadow:
youtu.be/R6nO6dUdO4Y
Shader Book Recommendations
bencloward.com/resources_books.shtml
------------------------------
Theme Music
Peace in the Circuitry - Glitch Hop
teknoaxe.com/Link_Code_3.php?q=1526
Background Music
Speo - The Little Things
youtube.com/watch?v=kvCYuyyLgC0
#UnrealEngine #shadergraph #Unity
In today's shader tutorial, I show how to write the code required to support multiple light sources when creating a custom lighting model in Unity.
Here's the code - so you don't have to type it all out:
bencloward.com/youtube/lights.txt
Here are two tutorials showing how to customize the lighting model in Unreal Engine:
dev.epicgames.com/community/learning/tutorials/2R5x/unreal-engine-new-shading-models-and-changing-the-gbuffer
dev.epicgames.com/community/learning/tutorials/ow0x/unreal-engine-custom-shading-models-directly-in-your-material-graphs
Take a look at the playlist for the whole series:
youtube.com/playlist?list=PL78XDi0TS4lGnGa7L2X4o3UV-XYZEKNwj
Here's last week's video on using light color and shadow:
youtu.be/R6nO6dUdO4Y
Shader Book Recommendations
bencloward.com/resources_books.shtml
------------------------------
Theme Music
Peace in the Circuitry - Glitch Hop
teknoaxe.com/Link_Code_3.php?q=1526
Background Music
Speo - The Little Things
youtube.com/watch?v=kvCYuyyLgC0
#UnrealEngine #shadergraph #Unity










