Realtime Raytracer ran in parallel

It’s not the greatest, and it’s certainly not the most optimised, but i’ve made a raytracer i’d like to showcase! :happy2:
It uses Parallel Luau and EditableImages to render raytraced images in realtime, albeit with severe performance issues and low resolution.

An image:

The place file:
RaytraceTest.rbxl (286.3 KB)

Improvements can certainly be made, if you’d like to provide constructive feedback, feel free to!

8 Likes

I gave this a play closer to when you released it, and it’s fun! I enjoy the custom character controller since it reminds me of games like Marble Blast Ultra.

I’d love to see you iterate on this :slight_smile:

2 Likes

A quick, small update
I switched to buffers instead of rectangles, which has improved performance significantly, also allowing me to increase the resolution.


And of course, the new place file:
RaytraceTest.rbxl (289.1 KB)

1 Like

Fun size update: I’ve now made several optimisation budget cuts making the raytracer run a lot faster
(and also made mirrors more detailed, including shadows and lighting!)
(The resolution is higher here, which made it slower)


Updated place file: RaytraceTest.rbxl (290.8 KB)

2 Likes

Silly little update again

I added:

Place file:
RaytraceTest.rbxl (330.0 KB)

5 Likes

Sorry for the large and sudden absence from this thread, I have not been ID verified and originally was using .rbxl files not uploaded to Roblox as a way to get around this, however i became unsure on if this breaks TOS and had to scrap the project. It’s a shame, but given how easily misused this could be, i can’t complain about it.

2 Likes