I'm having a bit of trouble with using rectangular textures on my nvidia 3060 GPU. Everything works well when using square textures.
The small GLSL compute shader code and small C++ code can be found at: https://github.com/sjhalayka/light_blocking_asymmetric
I've done my best to make the code as simple as possible. Is there a small bug, or a feature that I'm missing? Thanks for your time and expertise.
Rectangular texture (undesired, sheared lighting):
Square texture (desired lighting):