Announcement

Collapse
No announcement yet.

Problem with Background layer and overbright pixels with either denoiser or Lens Effects

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

  • Problem with Background layer and overbright pixels with either denoiser or Lens Effects

    I'm encountering a problem when I have a background layer enabled and have overly bright pixels. The bright pixels come from lights that are really bright, like 50000-250000 lumens bright. It's most noticeable when I have lens effects enabled but the issue is still evident at the edges of overbright pixels whenever the denoiser is on as well (see second image around the edges of the sphere light).

    Lens Effect and Intel Denoiser:
    Click image for larger version  Name:	image.png Views:	0 Size:	342.0 KB ID:	1197798
    Intel Denoiser Only:
    Click image for larger version  Name:	image.png Views:	0 Size:	125.2 KB ID:	1197799​​
    Lens Effect and Nvidia Denoiser:
    Click image for larger version  Name:	image.png Views:	0 Size:	285.8 KB ID:	1197797

    Oddly, I don't get any lens effect at all when I have the V-Ray Denoiser enabled with a background layer but at least I don't get any off color pixels. It also seems weird that I get a different lens effect between the Nvidia and Intel denoiser, almost like the math is off or it's clamping it somewhere. Any ideas?

    Soooo, what could be causing this and is there some workaround? I usually just composite the render over the background in photoshop but for the scene I've got going right now photoshop "compositing" wasn't cutting it so I decided to do it mostly in the VFB. FYI, this is not the actual scene I'm working on, just a test. ​​

    Basic scene attached. Replace the background with anything since it didn't seem to make a difference for me.
    Overbright Pixels test.zip
    Attached Files
    Last edited by dlparisi; 15-12-2023, 09:36 AM.
    www.dpict3d.com - "That's a very nice rendering, Dave. I think you've improved a great deal." - HAL9000... At least I have one fan.

  • #2
    Small update... I can get everything to work as expected with no aberrant pixels if I set up the VFB as a composite with a Back to Beauty Pass and add the background to the Composite rather than the standard layer list. Seems like a bug perhaps for the method noted above.


    Minor clarification: I need to put the Background layer at least below the Self-illumination layer in the composite stack in order for everything to work correctly otherwise the two lens effects don't match (nvidia and intel denoiser) and don't show at all with the vray denoiser.
    Last edited by dlparisi; 15-12-2023, 03:25 PM. Reason: Clarification
    www.dpict3d.com - "That's a very nice rendering, Dave. I think you've improved a great deal." - HAL9000... At least I have one fan.

    Comment


    • #3
      Thanks for the report. It seems that using the NVidia/Intel denoisers and a Background layer on top of it yields a bad result. The default V-Ray denoiser engine seems to be correct - the background on top should obscure the lens effects. I've logged the issue (internal bug-tracker id: VMAX-13831) for developer investigation. The Composite method can be used as a workaround.
      Last edited by hermit.crab; 20-12-2023, 04:09 AM.
      Aleksandar Hadzhiev | chaos.com
      Chaos Support Representative | contact us

      Comment


      • #4
        Just to clarify, I think the lens effect on the Nvidia denoiser version looks correct when compared to versions without the background enabled. It's the Intel one that looks incorrect IMO and I don't get any lens effects when using the Vray Denoiser.

        What about the odd pixel values that are evident in both versions where the lens flare meets up with the light source?
        www.dpict3d.com - "That's a very nice rendering, Dave. I think you've improved a great deal." - HAL9000... At least I have one fan.

        Comment


        • #5
          Originally posted by dlparisi View Post
          Just to clarify, I think the lens effect on the Nvidia denoiser version looks correct when compared to versions without the background enabled. It's the Intel one that looks incorrect IMO and I don't get any lens effects when using the Vray Denoiser.

          In my tests, both NVidia and Intel exhibit the issue. With the default V-Ray denoiser, the Background layer is obscuring the Lens effects, hence why they seem invisible - it should be like that for all three denoisers. This explains why the Composite method works for all three - the background layer is below the lens effects.

          Originally posted by dlparisi View Post
          What about the odd pixel values that are evident in both versions where the lens flare meets up with the light source?
          If you zoom closely at the edges of the light, there seems to be some anti-aliasing occurring with Nvidia/Intel denoisers, which ends up in the odd pixels in the result. Probably a secondary effect from the core issue.
          Aleksandar Hadzhiev | chaos.com
          Chaos Support Representative | contact us

          Comment


          • #6
            Not sure if it's related to the same problem or not, but I'm also getting weird artifacts over my rendered objects whenever I use the "Background" VFB layer in combination with the Intel or Nvidia denoiser. Please check the screenshots below. If I use the Vray denoiser or no denoiser at all, I don't get these artifacts.


            Aleksandar Mitov
            www.renarvisuals.com
            office@renarvisuals.com

            3ds Max 2023.2.2 + Vray 6 Update 2.1
            AMD Ryzen 9 9950X 16-core
            64GB DDR5
            GeForce RTX 3090 24GB + GPU Driver 551.86

            Comment


            • #7
              Yeah, not sure if it's related to the lens effect problem I am having either.

              For your issue though, what does your alpha look like? Any weird holes in the problem areas? I've noticed that the Nvidia denoiser sometimes introduced noise into solid parts which lets the background bleed through, which may or may not be your problem.
              www.dpict3d.com - "That's a very nice rendering, Dave. I think you've improved a great deal." - HAL9000... At least I have one fan.

              Comment


              • #8
                Double post...
                Last edited by dlparisi; 25-12-2023, 07:25 PM.
                www.dpict3d.com - "That's a very nice rendering, Dave. I think you've improved a great deal." - HAL9000... At least I have one fan.

                Comment


                • #9
                  Originally posted by Alex_M View Post
                  Not sure if it's related to the same problem or not, but I'm also getting weird artifacts over my rendered objects whenever I use the "Background" VFB layer in combination with the Intel or Nvidia denoiser. Please check the screenshots below. If I use the Vray denoiser or no denoiser at all, I don't get these artifacts.
                  Seems very similar. I'll add your report to the tracker as well.
                  Aleksandar Hadzhiev | chaos.com
                  Chaos Support Representative | contact us

                  Comment


                  • #10
                    Originally posted by dlparisi View Post
                    Yeah, not sure if it's related to the lens effect problem I am having either.

                    For your issue though, what does your alpha look like? Any weird holes in the problem areas? I've noticed that the Nvidia denoiser sometimes introduced noise into solid parts which lets the background bleed through, which may or may not be your problem.
                    Yes, I've seen artifacts sometimes appear around the edges of the alpha channel. It happens when I use the Intel denoiser (I very rarely use the Nvidia denoiser). Interestingly, this started happening recently. I think it was when I installed V-Ray 6 Update 2. I'll send a scene and some screenshots when it happens again.
                    Aleksandar Mitov
                    www.renarvisuals.com
                    office@renarvisuals.com

                    3ds Max 2023.2.2 + Vray 6 Update 2.1
                    AMD Ryzen 9 9950X 16-core
                    64GB DDR5
                    GeForce RTX 3090 24GB + GPU Driver 551.86

                    Comment

                    Working...
                    X