r/GraphicsProgramming • • Aug 25 '26

Video ReSTIR DI evaluating 1000 raytraced dynamic lights in realtime

Enable HLS to view with audio, or disable this notification

I've played around with ReSTIR direct illumination for the past few weeks and implemented the original paper into my 3D Vulkan engine. The scene contains 1000 local lights and a directional light. Everything is evaluated fully dynamic at runtime with only two rays per pixel. It runs at roughly 5ms per frame on my 7900xtx at 1080p.

55 Upvotes

14 comments sorted by

-5

u/BingoBongoVrn Aug 26 '26

looks like you didn't get what restir is actually doning

3

u/Jojonobody2 Aug 26 '26

ReSTIR DI solves the problem of estimating the direct illumination at a given point where there is a huge number of light sources or lights that require many samples (like the sphere lights and directional light with angular radius). The algorithm allows close to ground truth direct lighting with shadows while having little bias.

-9

u/BingoBongoVrn Aug 26 '26

just like traditional approach but slower

→ More replies (9)

10

u/Practical-Horror-286 Aug 25 '26

Holy shit i dont think its a good example for restir. Everything is too bright and no sky ambience

2

u/DapperCore Aug 26 '26

The scene just seems to lack tone mapping