Bulb
Bulb copied to clipboard
2D lighting and shadows for GameMaker 2022 LTS
In the accumulateHardLights() method from BulbRenderer class, shouldn't line 588 be: if (mode == BULB_MODE.HARD_BM_MAX or mode == BULB_MODE.HARD_BM_MAX_SELFLIGHTING) Instead of: if (mode == BULB_MODE.HARD_BM_MAX) To use BM_MAX for both...
These new sprites have a more perceptually consistent falloff, as opposed to simple linear gradients like in the old ones, which look less smooth. I also made a new version...
In this topic I explained the essence of the problem. https://forum.yoyogames.com/index.php?threads/how-to-make-depth-in-lighting-system.96579/#post-581799
When using SOFT_ADD bulb mode, shadows flicker. This behavior happens on both export targets I tried (Windows and HTML5). Tested with the Bulb.yyp sample project downloaded from the Github page...
Hello, thanks for the wonderful lighting engine. I am having a slight issue. ![image](https://user-images.githubusercontent.com/18541766/115821109-07cab580-a3b7-11eb-8188-0ebbaaba77a8.png) There seems to be an issue rendering shadows that shows up on one computer but not...