Dynamic Lights & Shadows - Devlog (Patreon)
Content
Hello all! Here's the video I've been working on about the lighting system in PokeyPoke! It's extremely performance friendly and lightweight. I'm a little light on some of the details in this video and mostly focus on the overall logic (a direct step-by-step video would have been enormously heavy, and also the way I've written it isn't super optimized so I didn't feel confident making it into a capital T Tutorial.) but with some work the more intermediate coders among you should be able to replicate something like this for your own games!
If this is too much for you and you still want to put lights and shadows into your game I still recommend the many lighting systems made by various members of the community and my previous video on the subject.
I've wanted to share something on this for a while as the whole system comes down to a *one* line shader which does all of the heavy lifting and actual shadow casting. The rest is just some surfaces and blend modes!
Hope this is useful!
$20 supporters will get access to the source code of my original "test" environment I used to build the system! (I've cleaned it up a bit, removed pokeypoke artwork (sorry!) and added a few more code comments.)
I would love to give access to a wider group and putting it on itch etc, but while I'm really proud of this system I don't feel confident "selling" it (yet) as there's so many optimizations that could be easily made and it's not super easy to port into just any game. Something I might work towards though!
This video goes live to all on Friday.
-S