3 ms·
Light and shadows in 2D fascinates me. Even more than 3D. There are countless ways to optimizes stuff like this and, compared to 3D, you're actually able to get
by zubspace 10y ago
Light and shadows in 2D fascinates me. Even more than 3D. There are countless ways to optimizes stuff like this and, compared to 3D, you're actually able to get really atmospheric results even on low end devices. Stuff like soft shadows with shadow penumbra and antumbra are actually possible to implement with high quality without insane performance hits.
Thanks to the author for sharing the implementation step by step.
Here are some other fascinating examples of 2D light and shadow:
http://ncase.me/sight-and-light/ http://ncase.me/sight-and-light/
http://nottutorials.blogspot.ch/2009/09/dynamic-2d-soft-shadows.html http://nottutorials.blogspot.ch/2009/09/dynamic-2d-soft-shad...
https://www.youtube.com/watch?v=0FZIKX1Y_8I https://www.youtube.com/watch?v=0FZIKX1Y_8I
https://www.youtube.com/watch?v=sZxrQHIaBbE https://www.youtube.com/watch?v=sZxrQHIaBbE
https://www.youtube.com/watch?v=AslPHY2Bomc https://www.youtube.com/watch?v=AslPHY2Bomc