Feedback on my improved 2D FOV system (viewcone and shadowcasting)

After ANOTHER week of pain, I FINALLY optimized my 2D FOV system by rewriting in multi-thread, using optimized mesh, renderBoxes, and some general code cleanup/optimization.
New system:


FPS: 75-80
video:

Old system:


FPS: 47-56, with the same amounts of rays and angle
(my pc is very suck)
In my last post, I said that I would be using UI for the visual, which turned out to be a bad idea because UI in Roblox is so hard to align. So I will use the optimized mesh for now.

4 Likes

Looks very nice, the optimization really worked. I can’t wait to learn more about your project!

1 Like