Take a look at how to add 3D point lights to your GMS2 projects, using a shader instead of the built-in hardware lights.
Show full description...
GameMaker's built-in hardware lighting relies on vertex shading to calculate how bright a polygon should be, which can result in very poor quality lighting effects on low-poly models. However, when utilizing a fragment shader, your GPU can calculate the brightness of each individual pixel on screen and nicely smooth out lighting, resulting in a much more realistic effect.
This project is fairly tiny, so there's not a ton of code to actually comment on, but I think I've gone through and added enough comments to help things make sense.
Hopefully it's helpful to some devs looking to spice up their 3D projects in GMS2.
There is also a free demo version available for download to check it out before purchasing.
NOTE: You must have Game Maker Studio: 2.0 installed on your computer to open these project files. They will NOT open with Game Maker 1.4