Small update - Better Renders


So I took another swing at this to see if I could make it any better and I found out I was rendering too few rays (90-256) and then making the rendered pixels chunkier to compensate for gaps. This could be used to render on "low end" systems, but doesn't look very good as a tech demo so it's been fixed by adjusting the number of rays to the screen width, the angle to half that, and the radian to cast to some weird math magic that works.

The floors and ceilings still do not render correctly for me and when you approach a door the frame rate still drops through the floor, but the overall look and feel of the program is much better and (possibly) smoother.

Files

LOVE2D 11.4 Textured Raycaster 249 kB
Jul 30, 2023

Get 3DSage's Raycaster in LOVE2D 11.4 + SOURCE

Leave a comment

Log in with itch.io to leave a comment.