Backrooms Experiment
This was a small personal challenge to create a basic 3D raycasting engine (per-pixel, not strips like many other raycasting engines) from the ground up in javascript, themed to Backrooms.
v0.5: Fixed buggy ceiling.
| Status | Released |
| Platforms | HTML5 |
| Rating | Rated 5.0 out of 5 stars (1 total ratings) |
| Author | Chronomatic |
| Tags | 3D, Backrooms, experiment, Horror, raycasting, Walking simulator |
| Average session | A few minutes |
| Inputs | Keyboard, Mouse |

Comments
Log in with itch.io to leave a comment.
is there a chance you could tell me about how you got this effect or shader going in your Proof of Concept? or maybe its name if it already has one?
The rendering method is Ray Casting, but the effect is custom and doesn't have a name that I know of.
I'm shooting a ray out from every pixel in the viewport and doing hit detection on a grid of cubes. Then depending on the coordinates hit on a cube, I map those to 2D textures (wall, ceiling, floor) to determine the color of each pixel. I also darken the color the further it is from the player to give a sense of depth.
The grainy/static effect is actually a side effect of a performance improvement. Instead of calculating every pixel every frame, I only do some pixels per frame. This leaves a bit of an afterimage if you move the camera quickly, but I like the way it turned out. :)
Thank you! <3
is there an exit?
It's just a proof of concept, so unfortunately there is no exit. Sorry if you spent a lot of time looking for a way out!
AAAAW
you should make more backrooms games to play on browser