Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17625

Steps to draw 2D point lit scene with shadows

$
0
0

I'm thinking about how I would go about creating a 2D scene that allows for multiple point lights that each cast shadows over a scene that contains objects, exclusively broken down into line segments.

I've found quite a few tutorials online for 2D light and shadows, although there doesn't seem to be a clear consensus with regards to technique. For example, some tutorials suggest using a simplified method of shadow mapping techniques used in 3D shadow drawing, while others use more home baked methods. Some methods also use additive lighting and others use subtractive lighting.

For context …


Viewing all articles
Browse latest Browse all 17625

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>