Introduction
This was the starting point in a quite extreme case:
Fixing a couple of problems
As first step I have fixed 2 problems:
1) the self-shadow problem in 2 triangles with a glancing angle with the light source (i.e. see the noise due to some self-intersection of shadow rays);
2) the horrible bounce back of light intensity on the edge.
and the result is:
Note: the black triangles on the edge are unavoidable, their geometric normal points away from the light source so there is no way to fix them aside increasing tessellation and/or using softer shadows (due to a larger light source, etc.).
"Taming the Shadow Terminator" ... when using bump/normal mapping
This is another test:
Now look what happen if I add bump mapping:
Lights magically appears from no where and start to illuminate also over the shadow termination. This is what
"Taming the Shadow Terminator"
by Matt Jen-Yuan Chiang, Yining Karl Li and Brent Burley
https://www.yiningkarlli.com/projects/s ... nator.html
can fix. This is the same rendering using the shadow terminator avoidance factor described in the paper:
Better, now the renderings with and without bump mapping match each other.
P.S. this code is not part of beta3 but only available in daily builds.
Shadow Terminator problem
Re: Shadow Terminator problem
Wow, never realized that the original shading was so insane!
Can't wait to test
EDIT:
Not being part of beta3 means I won't be able to use it in the build for 2.8 that Simon is preparing?
Can't wait to test
EDIT:
Not being part of beta3 means I won't be able to use it in the build for 2.8 that Simon is preparing?
Re: Shadow Terminator problem
Hi, great work, this is definitely an improvement (although I still dream of a fix like in Thea render).
However, I have a scene here that shows some regressions.
Files attached.
However, I have a scene here that shows some regressions.
Files attached.
I would include it if there were no regresssions.
- Attachments
-
- smooth_shade_test.zip
- (759.03 KiB) Downloaded 205 times
- FarbigeWelt
- Donor
- Posts: 1046
- Joined: Sun Jul 01, 2018 12:07 pm
- Location: Switzerland
- Contact:
Re: Shadow Terminator problem
What regressions do you mean? The ‚spheres‘ look better overall in the New than in the Old.
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
MacBook Air with M1
- FarbigeWelt
- Donor
- Posts: 1046
- Joined: Sun Jul 01, 2018 12:07 pm
- Location: Switzerland
- Contact:
Re: Shadow Terminator problem
Finally, I can finish the crescent moon I started over a half year ago.
Great work, Dade! And thank you for the nice introduction.
Great work, Dade! And thank you for the nice introduction.
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
MacBook Air with M1
Re: Shadow Terminator problem
Flip between the images and look at the right side. The ground plane (flat shaded) shows some very weird tiled shadowing artifacts with the new code.
Re: Shadow Terminator problem
So aside some shading issues which B.Y.O.B reported already, this is really really cool.
Even hard sunlight is handled well without going into crazy polycounts!!!
Even hard sunlight is handled well without going into crazy polycounts!!!
- FarbigeWelt
- Donor
- Posts: 1046
- Joined: Sun Jul 01, 2018 12:07 pm
- Location: Switzerland
- Contact:
Re: Shadow Terminator problem
This tops everything! That is perfect! Congratulations!
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
MacBook Air with M1
Re: Shadow Terminator problem
What a time to be alive. Thanks you so much