Shadow casting implementation

In order to create the shadows for the player to move through, I needed to implement a shadow casting algorithm. This video explained it quite well, implemented in C++. I decided to give it a shot, and although it took a while, I got there in the end. Overall I'm pretty happy with how it turned out, but I haven't figured out how to apply the final optimization step yet, I'm still working on it.

Below is a demonstration.

Shadow casting demonstration for Shadeshaper

(log in to comment)

Comments

Wow! This looks amazing, I'm excited to see what you do with it!
much appreciated :)