Last of Us style indirect shadows

Here is a texture to try that has channel packed light source angle.

R=5degrees
G=15degrees
B=30degrees

A=60degrees

68c3a94926b4eff4f86f635e41e3be6bae87190c.jpeg

63019e1572cc5cee7db8c064f0c3c8c8d777ee86.jpeg

edit fixed curve mapping, it was slightly wrong before.