Lighting issue
gamedev.net
I am working on a lighting system for tile-based games. It's nothing too fancy. The code and input images are at https://github.com/sjhalayka/light_blocking_asymmetricI am having an issue. Whenever the input images are asymmetric (e.g. width != height), the lighting goes haywire. Here are some images:Symmetric input works great:
0 Comments ·0 Shares ·135 Views