I have been working on previous lighting at tile edge fix. I have refactored main code part and result is better this time. I had to tweak a few parameters for precision since it strongly affects calculations.
Below you can see initial results. There is work to do yet, but the important thing is the result for now.
Before |