Announcement

Collapse
No announcement yet.

Beauty pass from render passes ?

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

  • Beauty pass from render passes ?

    Somebody lately managed to combine beauty pass from render passes ? I havent.
    There are 5 options for color channel passes and I have no more any clue what they do.
    I can even get beauty pass from one light pass + diffuse pass and no GI.

    Click image for larger version

Name:	ScreenShot342.png
Views:	1
Size:	72.3 KB
ID:	883926

    And last there is Color pass and when you enable it, final render image (RGB) is always black.
    Win11 Pro 64bit, GTX 970, Standalone version: V-Ray Next 4.30.03,

  • #2
    edit: I can't even get beauty pass from one light pass + diffuse pass and no GI.
    Win11 Pro 64bit, GTX 970, Standalone version: V-Ray Next 4.30.03,

    Comment


    • #3
      Are you working in 32 bit?

      VRaySelfIllumination – Linear Dodge (Add)
      VRaySpecular – Linear Dodge (Add)
      VRayReflection – Linear Dodge (Add)
      VRayRefraction – Linear Dodge (Add)

      (Group) – (Add)
      VRayDiffuseFilter – (Multiply)
      VRayDiffuseFilter – (Divide)
      VRayLighting – (Normal)

      (Group) – Normal
      VRayDiffuseFilter – (Multiply)
      VRayDiffuseFilter – (Divide)
      VRayGlobalIllumination – (Normal)


      From the CGTALK forum
      Bobby Parker
      www.bobby-parker.com
      e-mail: info@bobby-parker.com
      phone: 2188206812

      My current hardware setup:
      • Ryzen 9 5900x CPU
      • 128gb Vengeance RGB Pro RAM
      • NVIDIA GeForce RTX 4090 X2
      • ​Windows 11 Pro

      Comment


      • #4
        Yes, 32 bit .exr, I know those formulas from http://www.stevenolver.com/tutorial-...after-effects/ and http://vray.info/tutorials/basiccomping/

        But how to get render passes to that stage that those formulas works, 5 options to choose for every color channel pass.
        Win11 Pro 64bit, GTX 970, Standalone version: V-Ray Next 4.30.03,

        Comment


        • #5
          Finally I've found correct node settings when combining image from raw render passes.

          Vray render pass nodes


          [x] color mapping
          -----------------------
          Diffuse
          Reflection filter
          Refraction filter


          [ ] color mapping
          ----------------------
          Raw GI
          Raw Reflection
          Raw Refraction
          Light select
          Win11 Pro 64bit, GTX 970, Standalone version: V-Ray Next 4.30.03,

          Comment


          • #6
            I forgot specular pass

            Vray render pass nodes


            [x] color mapping

            Diffuse
            Specular
            Reflection filter
            Refraction filter

            ----------------------------------
            [ ] color mapping

            Raw GI
            Raw Reflection
            Raw Refraction
            Light select
            Win11 Pro 64bit, GTX 970, Standalone version: V-Ray Next 4.30.03,

            Comment


            • #7
              Ah, I also struggled with this recently and did not have the time to come up with a solution. I didn't even know that color mapping might be the issue.

              How do you combine them in the end in post pro (i.e. which layers are set to add and multiply)?

              Comment


              • #8
                Combining is much easier than many think because those tutorials are long and outdated many times (because of new options, like raw light passes)

                1) Light pass * diffuse
                2) Raw GI *diffuse
                3) Raw reflection * reflection filter
                4) Raw refraction * refraction filter
                5) Specular

                after those: 1+2+3+4+5 = beauty pass
                ----------------------------------------------
                If you have many light sources and you like to take all separated light passes (fex.Sun, Spot, Area), add those lights together:

                1) Light pass (Sun) * diffuse + Light pass (Spot) * diffuse + Light pass (Area) * diffuse
                2-5) same than above

                Image, left is original rgb render, right is combined beauty pass. All booleans you'll see are Add (1+2+3+4+5) and all render passes are groups (box) and inside are multipliers.
                Click image for larger version

Name:	ScreenShot346.jpg
Views:	1
Size:	291.0 KB
ID:	860374
                Win11 Pro 64bit, GTX 970, Standalone version: V-Ray Next 4.30.03,

                Comment


                • #9
                  1) Light pass * diffuse
                  2) Raw GI *diffuse
                  3) Raw reflection * reflection filter
                  4) Raw refraction * refraction filter
                  5) Specular

                  after those: 1+2+3+4+5 = beauty pass
                  ----------------------------------------------
                  If you have many light sources and you'll like to take all separated light passes (fex.Sun, Spot, Area), add those lights together:

                  1) Light pass (Sun) * diffuse + Light pass (Spot) * diffuse + Light pass (Area) * diffuse
                  2-5) same than above

                  And common situation, you have many light sources and you want to not take all separated light passes, only of a few lights like IES lights, then subtract your light passes from Raw Lighting pass and add your light passes back to Raw Lighting pass.
                  Example, you have 13 lights and you want to take render passes only lights1 and lights2:
                  (Raw lighting * Diffuse) - (Light1 pass * diffuse) - (Light2 pass * diffuse)
                  after add them back as always with light passes:
                  (Raw lighting * Diffuse) + (Light1 pass * diffuse) + (Light2 pass * diffuse)

                  You may ask why subtracting light pass(es) and after adding them back, answer is you can change your light pass(es) color/intensity/switch on/off. Like switching IES light1 off or change color.
                  Win11 Pro 64bit, GTX 970, Standalone version: V-Ray Next 4.30.03,

                  Comment


                  • #10
                    This is really helpful, thank you very much for the info. Indeed, this info seems a lot more accessible than all the tutorials I found! Great!

                    Comment


                    • #11
                      definetly bookmaring this thread

                      Comment

                      Working...
                      X