arrow keys, this is a test involving doing fun things with rays. in the beginning, if you turn around, you will find an area that is red, and doesn't seem to match what is around it. you are looking through a portal, and if you enter you will end up at the end of the maze. I wanted to try these modifications on a raycasting engine that looked better but i dont understand the complicated ones well enough.
I fixed the distortion. I think the main problem was that the field of view was too wide (180°) which would make it impossible to completely remove the distortion, so I changed it to 90° and messed around with the scripts a bit until it worked.