bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Solari: Improve specular GI

Open JMS55 opened this issue 2 months ago • 2 comments

Go back to only sampling the world cache for rough and non-first-bounce surfaces, but sample direct lighting when that doesn't happen.

Mainline image

This PR image

Pathtraced reference image

Fixes https://github.com/bevyengine/bevy/issues/21967.

JMS55 avatar Nov 21 '25 19:11 JMS55

There's still some weird glowing around the very edges of the monkey, but this is much closer.

JMS55 avatar Nov 21 '25 21:11 JMS55

@SparkyPotato please review this carefully. I'm not super confident about my MIS code (but the good news is that implementing it myself, I have a bunch better understanding now).

JMS55 avatar Nov 27 '25 18:11 JMS55