What is the best way to make shadows in Love2D?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
GuruuNoob
Prole
Posts: 2
Joined: Sun Nov 21, 2021 8:32 pm

What is the best way to make shadows in Love2D?

Post by GuruuNoob »

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. :halloween:

Preferably i did not want to use modules, i want to make my complete system for my experience.
User avatar
ReFreezed
Party member
Posts: 612
Joined: Sun Oct 25, 2015 11:32 pm
Location: Sweden
Contact:

Re: What is the best way to make shadows in Love2D?

Post by ReFreezed »

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.

Recent thread about shadows: viewtopic.php?f=3&t=93766
Some light/shadow libraries: https://github.com/love2d-community/awe ... d#lighting
Tools: Hot Particles, LuaPreprocess, InputField, (more) Games: Momento Temporis
"If each mistake being made is a new one, then progress is being made."
Post Reply

Who is online

Users browsing this forum: Bing [Bot], SmellyFishstiks and 7 guests