Announcement

Collapse
No announcement yet.

how to: override material as render element

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

  • how to: override material as render element

    Hello,
    how can we get an override material in the render element instead of doing 2 renders (beauty pass + override mat pass)?
    Thanks

  • #2
    Can you do what you're trying to with a VRayExtraTex render element?
    Colin Senner

    Comment


    • #3
      Originally posted by MoonDoggie View Post
      Can you do what you're trying to with a VRayExtraTex render element?
      That was my 1st thought too but I think he want to do override on only 1 object or set of objects not entire scene.
      CGI - Freelancer - Available for work

      www.dariuszmakowski.com - come and look

      Comment


      • #4
        thanks,

        I'm trying to override the entire scene as render element, not only one object.
        VRayExtraTex works with map/texture texture not with material.

        Comment


        • #5
          We wanted to do this a while back and ended up using RPManager.
          David Weaver

          Senior "Belief Crafter"
          Realtime UK

          https://www.artstation.com/artist/weaver

          Comment


          • #6
            Originally posted by DaveKW View Post
            We wanted to do this a while back and ended up using RPManager.
            Thanks,
            I just have a look to RPmanager screenshot and I don't see any override material button. Is there any extra step involve before you run the script to get an override pass?

            Comment


            • #7
              The material override is in the Renderer Setup tab under 'Global Switches', just like it would be using the normal Max version. What we do is create our base render on the first pass with Mat Override unticked, then create a second pass with it ticked.

              We then shuffle the RGB of the 'override' render into a new render element in Nuke.
              David Weaver

              Senior "Belief Crafter"
              Realtime UK

              https://www.artstation.com/artist/weaver

              Comment


              • #8
                Thanks, so basically, RPManager works like a batch render script?
                Two render are necessary to get the beauty and the Override pass or are both pass done at once?


                Originally posted by DaveKW View Post
                The material override is in the Renderer Setup tab under 'Global Switches', just like it would be using the normal Max version. What we do is create our base render on the first pass with Mat Override unticked, then create a second pass with it ticked.

                We then shuffle the RGB of the 'override' render into a new render element in Nuke.

                Comment


                • #9
                  Yes, you end up with two renders, but we use Nuke to merge them into one multi-channel EXR.
                  David Weaver

                  Senior "Belief Crafter"
                  Realtime UK

                  https://www.artstation.com/artist/weaver

                  Comment


                  • #10
                    I'm pretty sure that Vlado has explained that a separate 'material' pass for a whole scene can't simply be a render element as changing a material affects everything in the scene. Basically, V-Ray would need to calculate two different sets of GI, reflection, refraction...etc.

                    For example, if your material 'render pass' was a refractive material and you had refractive caustics enabled in your render settings, it would have to calculate two different sets of caustics.

                    Does that make sense?
                    MDI Digital
                    moonjam

                    Comment


                    • #11
                      You can use a VRayBlendMtl, add 2 materials, and render each submaterial with a material render element.
                      www.deex.info

                      Comment


                      • #12
                        He would have to make vRayBlendMtl for each material in his scene I think. Bit of work but it could work!
                        CGI - Freelancer - Available for work

                        www.dariuszmakowski.com - come and look

                        Comment


                        • #13
                          Thanks for the input.
                          I am not aware about what is under the hood, but as a user, I simply would like to get a "kind of" override material in a render pass element. Same request can be apply to the vray toon outline.


                          Originally posted by AJ Jefferies View Post
                          I'm pretty sure that Vlado has explained that a separate 'material' pass for a whole scene can't simply be a render element as changing a material affects everything in the scene. Basically, V-Ray would need to calculate two different sets of GI, reflection, refraction...etc.

                          For example, if your material 'render pass' was a refractive material and you had refractive caustics enabled in your render settings, it would have to calculate two different sets of caustics.

                          Does that make sense?

                          Comment


                          • #14
                            Thanks, sure that's going to be a lot of work and tricky when you already have a lot of VrayBlendMtl in the scene.

                            Originally posted by DADAL View Post
                            He would have to make vRayBlendMtl for each material in his scene I think. Bit of work but it could work!

                            Comment

                            Working...
                            X