TRY TURBOWARP! Lower resolution For the five people that are actually looking at this, this is how it works. Rays raycast at a certain direction(3d directions) from the player. Thats it. Controls: W,A,S,D,E,Q movement Mouse for looking Turbowarp: https://turbowarp.org/1185770821?fps=60&interpolate&hqpen&offscreen&limitless #3d #raycasting #raytracing Adding data may be difficult.
doing a 3d raycaster/raytracer is easy (idk which one this is so i chose both) Light ray equations comes from (rsin(theta)sin(theta2),rcos(theta2),rcos(theta1)sin(theta2) if the shapes look weird or slightly stretched thats normal(hopefully), um… yeah The great thing about this is that like a regular 2d raycaster, no z clipping and z sorting required. Tell me if you want a tutorial