Neat little raycast limit demo

so i did a thing;

it’s trying to showcase the limits of roblox raycasting, (due to single-thread performance it’s lower than it should be, but higher than expected)

https://gyazo.com/70c5765416a11aef58dda06e6fda5c72

https://gyazo.com/1ace0bbea07d56bc2874c5d699275f52

7 Likes

Look rly good could be used for some horror games or idk small mini games or something. But mostly has a god vibe for horrorgames

Personally I think the 120 is the best, because its not lagy and it fills the whole screen in first person.

Well, Its actually a little bit laggy. If you check the MicroProfiler while using the 120, you can notice that It will probably cause frame drops for some low-end machines:

Instead, the 90 runs pretty smooth.

And, there isn’t so much difference between the 120 and the 90:

image
120

image
90

I personally think that the best would be 90, actually, I would even say that 75 or 80 would look pretty similar and it would be even better for the performance.

But the most important thing… do not use +130 rays, please :neutral_face:

1 Like

This is neat! As someone said before, I think this would be cool for horror games.

As for performance:

  • 30, 90 and 120 were basically the same; the only difference was quality
  • 180 caused a bit of lag but it was hardly noticeable
  • 360 caused major lag

I have a pretty decent PC though, so this might not reflect what the average Roblox user would experience. I might give this a go on my laptop later