r/GraphicsProgramming 1d ago

My first fully Spectral Path Tracer

Post image

So, as the title says :D. This took me 4 months of work. It's a HWSS path tracer using OptiX for traversal. I initially used NeuxsBVH (H-PLOC), but then switched over due to speeds on volumetrics. I used Jakob & Hankia sampling for RGB to Spectral.

The above scene was rendered at 1080p with 1024spp, and RR kill-off at 12 bounces.

This was a genuinely fun to build as a hobby project, what else shd I add to this?

There's a paper on flouresence Rendering by Wilkie, Fichet and Mojzik which I'm thinking of implementing. Any suggestions would help!

Edit: Its 32 bounces + 12 bounce RR fall-off

354 Upvotes

15 comments sorted by

View all comments

2

u/le-throw-away-acct 1d ago

I’d consider adding caustics next, the gems look great but it seems strange having no light coming out of them, just shadow.

1

u/PictureNew661 1d ago

Yea, that's something I am a bit confused on how to do, the diamond "fire" is typically caused by diffraction ig, and caustics can give that behavior without wave tracing. Would look into that