I’m interested in using UE5 to simulate how light would bounce off of an array of mirrors.
I immediately hopped in and started making reflective materials, only to find that while materials don’t truly “reflect” things, as in, this reflection isn’t produced by bouncing rays, but only by using camera views to map what that camera sees onto the object’s texture (Ex. SSR).
After a while that neither varying the kind of light (direct or spot), its type (static or moveable), and its material, I still was unable to produce a set up where a reflective material bounces a beam of light off of itself.
My Setup
I basically have a slightly reflective wall and floor, with a mirror between them, and direct light coming down towards the mirror at a slight angle from above.
The mirror is circled in red
I’ve placed an emissive sphere where the light beam should be landing.
The only way to get accurate reflections in Unreal is to use ray-tracing hardware at the moment. It needs to be activated in your project settings.
You need to increase the number of bounces in the reflection settings of your post process volume as well. So here are the steps:
enable raytracing in the project settings, restart editor
place a (infinite extend) post process volume in your scene
enable ray traced reflections in the post process
increase bounces in the settings of the PPV
place a reflection sphere actor in the scene. You shouldn’t need to because the reflection is dynamic but it doesn’t hurt to have one in there for less reflective surfaces
Make sure your light is dynamic or stationary. The sunlight is a directional light. It’s not a spotlight it is like having an infinite amount of spotlights in parallel.
stay away from emissive light sources for now. Always use light actors.
I added everything in your list and it still seems to not work.
Is this what you meant by enable ray traced reflections in a global PPV and increase bounces?
I thought a screen shot of your scene. The one in the first post is hard to read.
I would set the number of bounces as low as possible for performance reasons. 5 should work.
Did you set the reflection method to ray tracing? It’s a bit further up in the PPV.
Does your video card allow hardware ray tracing? You got the latest drivers?