Here’s a basic shadow map demo I came up with. If any of you are interested in how it works, I tried to put a lot of comments in. Hope you enjoy it!
Screenshots:
(click to view full-size)
Video:
(recording lags)
https://youtu.be/wmgpxq0cjFI
View on GitHub
View on Pastebin
I’ve also been working on a few other shader effects, which I’ll hopefully be posting soon.
(parallax displacement, anyone?)