Raytraced Real Time Reflections

Reflection Showcase

Introducing my new reflection system with ray tracing. This technology brings realistic reflections to your visuals, making them look more lifelike and detailed.

Features:

  • Real-Time Reflections: Accurate reflections that update almost instantly with the scene.
  • Precision Control: The Precision and Accuracy of Reflections can be decreased or increased based on device performance…
  • Optimized Performance: Efficient rendering without sacrificing quality.

Experience enhanced realism and depth with this advanced reflection system.


image
image

The Reflections are calculated and traced and instead of drawing the entire scene it only draws the traced Reflections. It is still laggy but can be optimized. Each Part has a ReflectionFactor that can be controlled. I might also make a showcase game sometime soon for others to try out the system. If you have any questions feel free to ask them. I will post updates on progress as I work on it…

13 Likes

this is so cool. i’ve never thought about only drawing the actual reflections. add skybox reflections and this will be insane, especially for showcases and such. can’t even imagine this with like blinn-phong lighting model or even a simple lambertian diffuse (just for PoC because performance would be cooked).

also suggest you implement parallel luau to speed up the whole process if you haven’t already.
:+1:

also pls show us how it looks like for a mirror in a basic room for example.

I was thinking of adding Phong Lighting but I’m not sure because it’s a big Performance drop. I might add Skybox Reflections and Transparency as a feature later on but right now I’m focused on Optimization and Basic Shading. I’m thinking about adding Depth or Normal Shading. I’ll also show a mirror in a room photo in a bit.


It still needs some shading work like I said but I also managed to get the sky to show by using the Parts natural Reflectance property and then not Raytracing the Pixels there. So now you can add skies.

2 Likes

@Gucci_Dabs222 I have implemented Lambertian Diffuse as you suggested. The results are amazing.
image
Now compared to without Lambertian Diffuse.
image
Now I’m working on the optimization of the System. I have alot of other pictures and I’ll be sure to post them here for you guys to see tommorow. Thank you for the suggestion @Gucci_Dabs222 .

7 Likes

Good looking Mirrors


1 Like


1 Like

These raytraced reflections look extremely cool and unique for Roblox! Nice job on them! How long did it take to create this? Are you going to use it in anything? This is awesome!

is it like beamng slow reflections or fast reflections

It took about a week or so to make it. everyday I contributed a few hours to it.

@ViridianDevil is there a test game

I may release one sometime soon.

Im amazed at the good job you did, it really looks good for Roblox. I would like to know how many FPS the system reaches

Months ago I created a similar system, but I think its less optimized than yours:

My system isn’t really good for realtime it reaches like 3 FPS top. Assuming you used SurfaceGUIs it should be a lot less laggy because in mine I’m launching like 30x more rays since I’m taking the whole screen resolution into account which allows me to make reflective spheres and stuff.

Even if mine is more optimized or equally optimized it won’t be the same because mine does a lot more processing and also does shading.

will this ever be released? this is so sick! could be used for one of my car scenes

1 Like

Best creation I’ve seen on this platform in some time, I’d even say that Roblox should hire you as studio engineer. Hopefully there will be more of this kind of stuff!

1 Like

Hey there! I’m thinking about releasing a test place sometime but I need to do a little more optimization and also I’m taking a while since I have school and other projects that I need to work on.

This is really cool. But like… how? it seems impossisble to conceive on roblox, so congratulations, an actual post that pushes the limits of roblox.

1 Like