TMC LUX Lighting Engine


GMS2 Compatible

Picture In Picture GMS2 bug fix

Array Too Large For Shader Fix

The TMC LUX Lighting Engine consist of 4 shaders to do texture normal lighting with specular and ambient occlusion as extra rendering options. The lighting engine also has a sprite based lighting engine and shader which can be used for nice ambient effects such as light coming from a window. this sub system does not depend on a texture normal. Also include is a basic shadow system

The asset also comes with Preview/Fix Tool with a few necessary features such as converting a grayscale heightmap to a normal texture, flipping the normal texture color values arround and other basic image manipulations.

Perhaps the second best feature included in the asset is the platform engine which supports slopes and moving platforms.


  1. Texture Normal Lighting Engine
  2. Sprite Based Illumination Engine
  3. Simple Shadow Engine
  4. Robust Platformer
  5. Preview and Normal Manipulation Tool
  6. Virtually limitless number of lights in the room*
  7. Virtually limitless number of Sprited Lights in the room*
  8. 1000 lights in view*
  9. 20 Lights per rendered sprite/primitives*
  10. Ludicrous number of sprited lights
  11. Layered system for different layers of illumination
  12. Sample objects covering all basis
  13. Z support for positioning lights in actual 3d space
  14. Shader Based
  15. Cel Shading
  • The system allows for a quasi limitless number of lights in your level, but only 1000 lights in view and 20 lights per instance can be drawn. In practice you want enough lights to be pleasant and be smart about your room size and view size to not overwhelm the PC or the player.

With this asset I offer access to my slack tutoring group for private support

More info

End User Licence Agreement (EULA).

Changes in 1.0.2

Fixed issue with some Video Cards skipping a beat (flashing lights) Reinstates the fix added in 1.0.1 which was somehow not applied, which fixes light disappearing if another light is below it

Version 1.0.2. Published March 4, 2016

Created with GameMaker: Studio v1.4.1747

Age Rating: 4+

Privacy Policy

Average Rating

Your review

You can only review assets you've bought.


Alexander R 02 March 2019


Adam J 08 November 2018


Kenneth B 27 August 2017


Anonymous 10 January 2018

Tutorial would be ideal

I read the other review that a tutorial would be nice and the response about how one can figure it out after rifling through the demos. While this is true, a unified tutorial document would save a lot of time and make learning how to use the scripts more organized. A document that lists out all the features and how to implement them would make this script 100% perfect. Everything looks great and all, so no complaints there. I just found myself wishing there was an easy place to reference the different functions so I could be sure I was using the script to its maximum potential.


Shaiket D 24 April 2016

Could use a better tutorial

First of all, a very good asset. I played with the demo apps and it works great. I am new to GML but am a seasoned developer and I want to incorporate the lighting engine in my own game but am getting overwhelmed with the amount of assets that the demo project has pulled over. I wish that there was a link to a tutorial on how to use the engine with your own game or just a quick youtube video showing how to get started doing that. Anyhow, given that I barely spent 30 min or so, I am sure once I get digging into the authors documentation I will eventually figure it out - but again I wish I did not have to go through this painful process :). I would still recommend this asset for someone wanting to use lighting/basic shadow effects etc. I will change my review to a 5 STAR if a tutorial was added.

UPDATE: An hour into it and it is all making sense now. I did notice that the readme and forum has some starting points which is useful. Need to test in all outputs but a HUGE thumbs up!


The Mojo Collective (Publisher) 07 May 2016

As a test, I sent out the asset to one of my teammate and let him figure it out on his own, and, like you, after an hour he had it figured out. It's more simple than it looks and the examples in the demo give a pretty standard setup you can copy everywhere.

This asset comes with access to my tutoring group on slack. Use the contact publisher and I'll add you in.


Herminio S 25 February 2016

Not as complex to implement as one would think!

Basically this is one of the coolest things to come from the marketplace to date! If you want to spice up the look of your game, this is the asset for you!

This review was left for a previous version of this asset.


Tarquinn G 20 February 2016

Great asset!

The code is very well commented, not only is this a great asset which does what it says on the box, it has taught me a lot.

This review was left for a previous version of this asset.


Ricardo R 30 December 2015

Solid asset. Great effects.

I am a GMS newbie myself with a lot to learn, but I already learnt that the assets from this guy help a LOT any beginner. So, I look forward to be able to integrate this new asset and the others to my games!

This review was left for a previous version of this asset.


davide m 23 December 2015

This asset... shines!

No, really: it's absolutely mindblowing. These are the best light effects i've seen so far, and not only on Gamemaker. Plus, you got a very solid platform engine. And the code is well commented. And you can learn so much from it. And OMG! I love it. Best asset on the marketplace. Inspiring!

Update: I managed to implement Lux in my game, and it was pretty easy (and i'm not a GML expert at all: i started 1 year ago and i had never programmed before). It works like a charm. Fantastic!

This review was left for a previous version of this asset.

Package contents

Loading, please wait

What is the issue?

Back to Top