Hi! I started using Love2D 5 months ago, i have a great knowledge of Lua and others languages. Recently i have been searched how to make shadows in Love2D and i'm not finding videos and topics about this.
I have a method to use raycast and find where the shadow be but i dont know how format the pixels or make the visual shadow.
Preferably i did not want to use modules, i want to make my complete system for my experience.
What kind of shadows? Is the game 2D or 3D? Side-scrolling or top-down? How simple or complex should they be? Are they static or dynamic? One light source or multiple?
There are many things to consider. There's no "best" way - only different ways, producing different results.