/2d-shadowmap

Trial on using classic shadow maps in 2D

Primary LanguageJavaScriptMIT LicenseMIT

2d-shadowmap

Trial on using classic shadow maps in 2D. To create the depth texture we cast a ray out from the center and store the depth, which we later blur and create a lightmap with.

Live demo