THIS PROJECT IS OBSOLETE, V2 IS OUT: https://scratch.mit.edu/projects/516988802/ It's faster, looks better, has a high quality render mode, and is on my Alt (although I'm more active on it than this account) WASD, arrow keys to turn. Settings: 0-3 resolution improvements, 4 - 10, Ambient Occlusion Improvements.
I FINALLY added ambient occlusion to a raycaster. it isn't implemented very well, but this is proof of concept. It runs 4x faster here: https://turbowarp.org/505311257/fullscreen?interpolation Changelog: 3/30/21 v1.2 More AO tuning 3/29/21 v1.1 Modified and inverted the AO as well as increasing the slope threshold, AO now brightens edges and more noticeably darkens crevices. 3/25/21 v1.0 BIG UPDATE, 4x the speed, move sensitive occlusion, more optimizations, removed redundant code. WOO 3/24/21 0.3 Changed the vibe, A lot. 3/22/21 v0.2 Used a more accurate method of occlusion. 3/22/21 v0.1 Remixed, added ambient occlusion, the sun, hand model, fixed fisheye effect, and changed to a monochromatic color scheme. #ray #madness #rayMadness #ambientOcclusion