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.
(log in to comment)
siddhartha13 on 2023/03/30 01:23:
Wow! This looks amazing, I'm excited to see what you do with it!