Conversation
|
@abalfoort, continuing from NVIDIA#477 (comment): I got around to looking into it, at least a little. My rough hypothesis right now: What to do about it? Not sure right now. Probably read a bit up on state of the ReSTIR art and see what options the pros came up with. |
|
Addendum: Seems things get especially odd when sunlight is involved. Hm. |
Or at least, more visible. Good to see that you still are on this project. |
ReSTIR is currently only used for direct lighting.
Limiting to the same field is unnecessary and not doing so seems to give better results.
The sampling position was carried along, but not actually used! Using it also seems to make a perceptible difference.
Looks like a hack to deal with fireflies, but it broke lighting in other ways.
|
@abalfoort, so after spending quite a while trying to understand more of how this is all supposed to work, and prodding the implementation, I think managed to address the issue you were still seeing (still visible smearing outdoors)... First of all, be aware it's not entirely gone in all cases; but that is in the nature of the thing: when pixels are disoccluded, the denoiser initially has to guess a lot in that area, and that usually tends to result in comparatively darker pixels. As I found out, the ReSTIR implementation actually contained a few hacks that made things look alright when using skybox sky lighting (which I mostly used when checking it out previously), but no so much with physical sky lighting (which is comparively bright). So the main aim was to fix those hacks, yet to keep things still looking nicely. Other things I found out on the journey:
In conclusion, if you have time, I'd appreciate if you could give that latest branch a spin and see how it works for you. |
|
@res2k Thanks for the hard work. I have started and played baseq2 a little and immediately saw a big difference. I will try to find some time this week to test this, also with the mission packs. |
I'll look into them
Awesome! |
Continuing discussion from NVIDIA#477 as upstream project is archived.