One of the recurring topics of christmas Q&A talk has been the usage of MXAO on top of the RTGI shader. I wasn't really aware small scale details are that much of an issue before. So to unwind between christmas and NYE, I spent some time drafting some solutions for this problem and this planning came to fruition:
I came up with two improvements to the ray intersector. With the previous code, one really had to choose between small detail or large range GI, both was hardly possible. As can be seen in the first comparison and especially, the magnified area, small areas such as that step on the pillar hardly bounced any light on the wall before. Some rare rays caught this detail but not enough. The new method will catch this and many other small details effortlessly. The debug app doesn't really do this feature justice but Witcher 3 decided to give up on me..
Now when toying around with this, I found another problem: light leaking. Some objects should cast directional shadows but for some reason, don't do it. Investigation showed that the calculated intersection and the actual intersection were often quite off. The shader efficiently found intersections (creating accurate ambient occlusion) but wasn't really good at pinpointing them (creating incorrect bounce light). A quick and dirty fix solved that problem for good, but I'm investigating even better methods. Additionally, the new method makes the GI overall darker, so I'm trying to find ways to boost the GI intensity without going haywire with the physical correctness [too much].
Incidentally, one of the new features even improves performance. So after the significant gain of 0.8.2, this new feature might even give some headroom for other shenanigans where one can trade performance for quality, who knows. Filter needs a bit reworking as well, as the newly found details can be so small, the current filter just washes them away.
Promising stuff to kick off 2020!
Tarcisio
2022-03-12 01:14:33 +0000 UTCJames Kirk
2021-07-26 06:20:51 +0000 UTCGlenn Maurtua Magan
2020-05-15 14:44:54 +0000 UTCDans Migori
2020-05-15 13:38:38 +0000 UTCGlenn Maurtua Magan
2020-05-12 19:16:54 +0000 UTCSergio Dieguez
2020-05-12 16:29:35 +0000 UTCGlenn Maurtua Magan
2020-05-01 17:43:47 +0000 UTCCockchui
2020-04-22 08:56:58 +0000 UTCJack Alcorn
2020-04-20 04:58:15 +0000 UTCWilliam
2020-03-30 08:56:10 +0000 UTCWilliam
2020-03-30 08:44:50 +0000 UTCdee ola
2020-03-27 22:31:07 +0000 UTCGaby li
2020-03-23 13:58:30 +0000 UTCflute136
2020-02-18 03:08:43 +0000 UTCPascal Gilcher
2020-02-05 16:15:13 +0000 UTCErick Howard
2020-02-05 04:43:29 +0000 UTCaallfik11 .
2020-02-02 19:58:58 +0000 UTCjwjssw ewyuuew
2020-01-26 19:29:27 +0000 UTCguy
2020-01-04 00:18:30 +0000 UTCErick Howard
2020-01-03 09:32:26 +0000 UTC