GameMaker (all)

Light and Shadows-no surfaces


You must be logged in to obtain assets


Extension is GML only, no third party DLL's !!!

version 1.1.0 bug fixes and improvements. Thanks to Marcin M. for finding bugs.

This extension does not use the surfaces to generate shadows. It uses triangle lists.

Easy to use, fast, efficient, and compatible with all the target platforms. You can use it with multiple objects to cast shadows in one room. Objects can be moved and / or rotated.

This extension allows you to create shadows for any arbitrary convex objects.

Shadows such as these can be seen in popular games like Phases, Prism, Exit Zone, Impossible Caves and many others.


  • static objects
  • moving objects
  • rotating objects
  • editor object included to create shadow masks easily
  • can change color of the shadow
  • can change alpha of the shadow
  • can display debug lines
  • can use blending for light sprite
  • 3 possible ways to shadow casting objects

Watch the video or download the demo to see the extension in action.

I have included comments for all important lines of code.

You can also read the readme.txt file (included in the files) to begin using the extension.

If you have any suggestions or problems with this extension write me an e-mail.

Rate this asset if you like it or find it useful.

Download demo mirror1

Download demo mirror2

You can download the app which is using this engine here

If you want to stay informed about my new assets Subscribe to my mailing list. You also receive a FREE asset for subscribing.

You can also follow me on Twitter (@smallbigsquare)

End User Licence Agreement (EULA).

Age Rating: 4+


GMS1 - Version 1.1.3. Published September 1, 2016

GMS2 - Version 1.1.5. Published October 24, 2018

GMS2.3 - Version 1.1.10. Published October 16, 2020

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait