Announcement

Collapse
No announcement yet.

Shadow Recieving Matte for Ground Plane

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

  • Shadow Recieving Matte for Ground Plane

    Probably a super simple question. Say I have a plane and a teapot and a vraylight dome with an HDRI. I want the plane to catch the shadow from the teapot. I apply a VrayMtlWrapper material to the plane, set Matte Surface to on, shadows on, affect alpha on, alpha contribution to -1. Render, no shadow. What step am I missing? Thanks.

    - Neil

  • #2
    dome light set to use irradiance map...?? or brute force

    Comment


    • #3
      Neither, GI is not enabled.

      - Neil

      Comment


      • #4
        It won't receive shadows if the teapot is set to matte also, and just to be obvious the tea pot is casting shadows?

        Comment


        • #5
          The teapot has a standard material. And yes, the teapot is casting shadows, if I put a standard material on the plane it receives shadows like it should, it just doesn't see through to the vraylight behind it.

          - Neil

          Comment


          • #6
            Here's a test file that fails, if anyone's interested in taking a poke at it.

            - Neil
            Attached Files

            Comment


            • #7
              ... simple answer.
              ... replace the standard materials with vray materials !!! especially in the overwrite material
              ... first use a vray plane light to see the effect ... the shadow
              ... use a map in the background ... to see the matte effect

              hope that helps

              love your scripts

              Klaus
              Last edited by tryharder; 10-04-2014, 01:26 AM.

              Comment


              • #8
                Originally posted by tryharder View Post
                replace the standard materials with vray materials !!! especially in the overwrite material
                Now I'm confused. Is there supposed to be a submaterial in the VrayMtlWrapper? If so, what material? And are you saying there has to be an environment map? There's no way to see through the plane to the map that's visible in the VRayLight?

                Originally posted by tryharder View Post
                love your scripts
                Thanks!

                - Neil

                Comment


                • #9
                  no time for confusion
                  i will post a file in a minute

                  Klaus

                  matte_2014_Vray_3.zip
                  Last edited by tryharder; 10-04-2014, 07:48 AM.

                  Comment


                  • #10
                    Do not never use standard materials with Vray. use Vray materials for vray work.
                    CGI - Freelancer - Available for work

                    www.dariuszmakowski.com - come and look

                    Comment


                    • #11
                      Originally posted by soulburn3d View Post
                      Now I'm confused. Is there supposed to be a submaterial in the VrayMtlWrapper? If so, what material? And are you saying there has to be an environment map? There's no way to see through the plane to the map that's visible in the VRayLight?

                      - Neil
                      Vray will never output render elements for standard materials so any vray type features, you'll have to make sure you're using vray materials exclusively. I'd say what Klaus is saying is that you've gotta have a vray material as the actual base shader in the vrayMTLwrapper.

                      Comment


                      • #12
                        never ever

                        the demo file
                        Attached Files
                        Last edited by tryharder; 10-04-2014, 07:52 AM.

                        Comment


                        • #13
                          Originally posted by tryharder View Post
                          no time for confusion
                          i will post a file in a minute

                          Klaus

                          [ATTACH]19051[/ATTACH]
                          Thanks. So your file works, but you changed a lot of stuff. I'll poke at this tonight when I get back from work to see if I can narrow down the exact setting that's different between the two files that stops my example file from doing the right thing. Thanks for the help so far!

                          - Neil

                          Comment


                          • #14
                            Originally posted by Dariusz Makowski (Dadal) View Post
                            Do not never use standard materials with Vray. use Vray materials for vray work.
                            That was just an oversight. Replacing the Standard material with a vraymtl in my original file equally doesn't work.

                            - Neil

                            Comment


                            • #15
                              ... put a vraymtl in the vraymtlwrapper as base material
                              ... make yor dome light invisible ... to see the background
                              ... put a map in the background

                              and

                              your file works

                              Comment

                              Working...
                              X