I've started working the a simple light shader in gamemaker. When I run it, it shows a blank white window which if I dont close immediately, my computer is softlocked (I cant do anything and have to restart). If I do close the window, gamemaker freezes and wont close. I have worked with a similar shader which I made that only allows one light, which works fine. It was only after I added arrays for multiple that it failed.
sh_multi_lighting.fsh:
GLSL ES code is causing gamemaker to freeze (Solved!)
sh_multi_lighting.fsh:
Code:
// Fragment shader code (GLSL)
//...