Announcement

Collapse
No announcement yet.

Excessive noise/fireflies with Falloff as Glossiness

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Excessive noise/fireflies with Falloff as Glossiness

    Hey guys,
    I have a problem here where a Falloff map in the glossiness channel is causing excessive noise in the reflection pass, see attached screenshot.
    The material is a clearcoat which later gets blended with another material.
    The noise goes away when the mode is set to Fresnel or something else, but for look development reasons the Falloff has to stay as it is. Raising Min AA to 24 or even higher does not help.

    Max 2023.2.2, V-Ray 6.00.20

    Click image for larger version  Name:	Excessive_Noise.jpg Views:	0 Size:	53.7 KB ID:	1196023

    Scene file is here: https://transfer.px2.de/_8ZZcd15wNdV5AR

    Regards

    Oliver

    EDIT: Setting Falloff mode to Fresnel does not help either, along the rear edge the noise is still visible.
    Last edited by kosso_olli; 29-11-2023, 10:17 AM.
    https://www.behance.net/Oliver_Kossatz

  • #2
    You're using a very long GTR tail (i.e. set at 1.55 instead of 2.0: Click image for larger version  Name:	image.png Views:	0 Size:	1.4 KB ID:	1196116​) and that long tail will always be noisier than the default (GGX was chosen for very good reasons.).
    You'll just need many more samples for it to converge (the sampleRate RE indeed shows a ton of red.), a slightly tamer HDRI, or a tighter GTR tail falloff.
    On the plus side, the higher sampling will be concentrated where needed.

    P.s.: if when converged the noise is visibly still too high, you're left with lowering noise threshold until you're satisfied. You may need to also increase max AA in case, to ensure you are indeed converging to the set N.T. (meaning little to no red in the SR RE).


    as it arrived:
    Click image for larger version  Name:	image.png Views:	0 Size:	186.8 KB ID:	1196112
    and its sampleRate RE at 2-48:
    Click image for larger version  Name:	image.png Views:	0 Size:	130.4 KB ID:	1196113

    As it becomes with 2-1000 max AA (notice max AA is NOT reached anywhere in the image, for this N.T.):

    Click image for larger version  Name:	image.png Views:	0 Size:	181.9 KB ID:	1196114
    and its SR RE:
    Click image for larger version  Name:	image.png Views:	0 Size:	52.5 KB ID:	1196115

    Last edited by ^Lele^; 30-11-2023, 03:16 AM.
    Lele
    Trouble Stirrer in RnD @ Chaos
    ----------------------
    emanuele.lecchi@chaos.com

    Disclaimer:
    The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

    Comment


    • #3
      Thanks Lele, I will try this.

      Regards

      Oliver
      https://www.behance.net/Oliver_Kossatz

      Comment


      • #4
        Yep, it's working. Thank you so much, Lele.
        I wouldn't have thought that such a high Max AA was needed for a still image. Most of the time we use those values for very high-intensity lights on motion blurred (remember the fast-spinning high gloss rims?) or out-of-focus parts of the image.
        https://www.behance.net/Oliver_Kossatz

        Comment


        • #5
          High sampling is needed any time there is a task that's hard to converge: all of those you mentioned surely qualify.

          In the case of the GTR tail, consider most other engines don't offer it, precisely because it's super hard to make noise free (and there's a wee bit of math around the model that hasn't been solved.)
          Asen has made a ton of unique work around the GTR BRDF (Microfacet Shadowing, Anisotropy), which makes it usable for us.
          For size, take the tail back to 2.0 and see how quick and clean it is.
          Of course, you're now stuck with a much tighter, less luscious highlight shape.

          There's a chance you may get somewhat similar looks layering coats, but then i'd wager you'd have to sample just as hard: sun in the 150k float, only a few pixels wide, as light...
          Lele
          Trouble Stirrer in RnD @ Chaos
          ----------------------
          emanuele.lecchi@chaos.com

          Disclaimer:
          The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

          Comment


          • #6
            what was the render time cost for getting the smooth results?
            Website
            https://mangobeard.com/
            Behance
            https://www.behance.net/seandunderdale

            Comment


            • #7
              Originally posted by seandunderdale View Post
              what was the render time cost for getting the smooth results?
              On the isolated case with just the bonnet: Negligible.
              Will see how much difference it makes on the full image. Hopefully not so much.

              https://www.behance.net/Oliver_Kossatz

              Comment


              • #8
                Originally posted by kosso_olli View Post
                On the isolated case with just the bonnet: Negligible.
                Twenty times longer for the specific crop: from 22 seconds to shy of 8 minutes.
                I imagine over the full image that's truly negligible.
                Lele
                Trouble Stirrer in RnD @ Chaos
                ----------------------
                emanuele.lecchi@chaos.com

                Disclaimer:
                The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                Comment


                • #9
                  The problem does also go away if you just disable "Affect Reflections" in the domelight
                  Might have unwanted effects on other materials which you could fix by splitting them up to a separate dome light. But in this case the result looks exactly the same just minus the noise.
                  Alternatively the denoiser seems to clean up the affected areas as well.
                  Check out my FREE V-Ray Tutorials

                  Comment


                  • #10
                    You'd be removing a big part of the look (sadly locked in) of that material if you disabled reflections.
                    Same with denoising, you'd need at the very least a uniform distribution of noise, otherwise the very sparsely placed brighter pixels (see the initial image) will turn into splotches (check it yourself by denoising the reflection RE separately.).
                    So, to denoise this kind of issue, one would have to render with fixed, ensuring no clumpiness, and then hope the denoised solution isn't made up of unconnected patches.

                    original reflection RE:
                    Click image for larger version  Name:	image.png Views:	0 Size:	188.9 KB ID:	1196161
                    ​fixed 24 subdivs reflection RE (took only 1.5X the original):
                    Click image for larger version  Name:	image.png Views:	0 Size:	264.8 KB ID:	1196160

                    Frankly speaking, however, this is smack in the middle of the "needs more AA" class, as it's a combo of complex BRDF and difficult lighting.
                    Lele
                    Trouble Stirrer in RnD @ Chaos
                    ----------------------
                    emanuele.lecchi@chaos.com

                    Disclaimer:
                    The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                    Comment


                    • #11
                      Yeah, probably depends on the usecase In production I would always try to find some practical workaround instead of bumping my max AA to 1000 but there are situations where its probably unavoidable.
                      Seems though the issue has nothing to do with the falloff itself but with glossiness values very close to 1 and a lowered Tail Falloff? So you recommend normally not touching the Tail Falloff at all?
                      Check out my FREE V-Ray Tutorials

                      Comment


                      • #12
                        Originally posted by ^Lele^ View Post
                        Twenty times longer for the specific crop: from 22 seconds to shy of 8 minutes.
                        I imagine over the full image that's truly negligible.
                        Well, you are right. The scene I uploaded does indeed take considerably longer. However, the final material with the blended clearcoat does not take that much longer to render, but the noise is gone.

                        Setting affect reflection off for the domelight does help to some extent, but some specks of noise are still left:

                        Click image for larger version

Name:	Excessive_Noise02.jpg
Views:	241
Size:	16.1 KB
ID:	1196166

                        https://www.behance.net/Oliver_Kossatz

                        Comment


                        • #13
                          Originally posted by JonasNöll View Post
                          Yeah, probably depends on the usecase In production I would always try to find some practical workaround instead of bumping my max AA to 1000 but there are situations where its probably unavoidable.
                          Olli seems to have to deal daily with nightmare production cases: he can't quite cheat it, the sizes are ginormous, people can see the dust specks.
                          I'd be twice my age if i had to do the same on a daily basis.

                          Seems though the issue has nothing to do with the falloff itself but with glossiness values very close to 1 and a lowered Tail Falloff? So you recommend normally not touching the Tail Falloff at all?
                          What we see in the reflection RE is essentially a very low probability (per sample), but very high intensity (per sample), reflection of the sun disk.
                          The longer tail simply reduces the probability of finding the sun, and increases the screen coverage of the specular lobe, both compounding the amount of work needed to converge.

                          I'll try and simplify the renderer logic below (please do not take it as exact, but as a guideline.):

                          A pixel color is the result of the average of the samples V-Ray took for it.
                          In our case, this reflection requires very high sampling because most samples will return very manageable values (when the sun isn't hit, most of the backdrop is in the visible range.), but every now and then the sampler will find the sun disk, and that sits in the 1e06 range, which will of course throw off the average for the pixel, and instruct V-Ray that we have that very bright, very lone sample in the mix and should continue to look for it if possible (i.e. if we have Max AA subdivs available.).

                          As a mental excercise, say we have 50 samples that average to 0.03f and then one comes in at 150000.0f (we hit the sun disk!).
                          If we discarded the sample as "bad", we'd get no sun reflection whatsoever, but to properly sample the reflection, we'd need 50 times the 50+1 samples to try and get 50 sun disk samples.
                          As we deal with statistics, it's not even guaranteed that we'd get those fifty bright samples if we sampled fifty times more.

                          Enter IntelPGL, the MLT Solver for progressive caustics, and other such techniques to try and learn from a scene to then guide the engine, reducing the randomic nature of the searches that all path tracers perform.
                          They don't specifically help here (beyond what other importance sampling is already at work on the dome and the shader.), but they do in a number of other cases where we have the low-probability, high-intensity scenarios.
                          Lele
                          Trouble Stirrer in RnD @ Chaos
                          ----------------------
                          emanuele.lecchi@chaos.com

                          Disclaimer:
                          The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                          Comment


                          • #14
                            Thanks for the breakdown, very interesting to peak behind the curtains of whats happening
                            I was under the impression that the Max Ray Intensity parameter in the render globals was designed to deal with those kind of situations. Is that of not much help in this kind of conext?
                            Check out my FREE V-Ray Tutorials

                            Comment


                            • #15
                              Originally posted by JonasNöll View Post
                              Thanks for the breakdown, very interesting to peak behind the curtains of whats happening
                              I was under the impression that the Max Ray Intensity parameter in the render globals was designed to deal with those kind of situations. Is that of not much help in this kind of conext?
                              Well, it's another form of clamping.
                              If we clamped the first bounce (i.e. this is a reflection of the dome), we'd mute the dynamic range severely.
                              The Max Ray intensity works better for secondaries, and GI, in general, but it still reduces the light flux in the scene quite massively.
                              I personally have it off, and manually control the energies put in the scene.
                              In this case, i'd have probably poked the shader and HDR, while free to change looks, until it was as close the what was wanted by the client as the render budget allowed.
                              And this may well be where Olli is locked into.
                              Thankfully i understand he's well endowed with rendering hardware.
                              Lele
                              Trouble Stirrer in RnD @ Chaos
                              ----------------------
                              emanuele.lecchi@chaos.com

                              Disclaimer:
                              The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                              Comment

                              Working...
                              X