SFML community forums
Help => Graphics => Topic started by: sidewinder on January 23, 2021, 09:53:16 pm
-
Hi,
I was wondering if anyone had done light with shadows that does not originate from a single point (and become circles)
If you know of any examples I'd like to see them. Also if anyone have some ideas of how the equivalent ray-casting would work?
-
I don't quite understand the question. If it doesn't originate from a point, what does it originate from then and how should it be spreading?
If it should be a plane (like an LED panel), then you could also just use multiple points next to each other as simplification. Otherwise you'll just have to use some different math, but unfortunately I wouldn't know more. :D