Announcement

Collapse
No announcement yet.

How to get Shadow without Reflection?

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

  • How to get Shadow without Reflection?

    Hi everyone, I have a question that should be simple but is driving me crazy...

    In this basic example I am rendering a chrome teapot.

    With no ground plane, the teapot looks like it is floating.
    Click image for larger version

Name:	1.jpg
Views:	1
Size:	444.1 KB
ID:	880835

    With a ground plane with a basic material applied to it, the teapot is grounded with a shadow and also the reflection of the plane.
    Click image for larger version

Name:	2.jpg
Views:	1
Size:	452.5 KB
ID:	880836

    With a shadow material applied to the material, the shadow renders correctly in the alpha channel BUT there is still a reflection in the teapot (Here I made the base material green to better illustrate)
    Click image for larger version

Name:	3.jpg
Views:	1
Size:	493.9 KB
ID:	880837

    I turn off reflections in the Object properties of the plane and I lose the reflection but ALSO my shadow

    How do I get a shadow reflecting back into my teapot, with out seeing the friggin shadow plane itself in my teapot?

    I am using a Vray Material as my base material in my shadow material, since that is now a vray 3 thing apparently.
    in my vraymtlwrapper I set the alpha contribution to -1, shadows and affect alpha are ON, Matte surface is ON.
    Last edited by breadcrums; 09-10-2014, 03:32 PM. Reason: pictures

  • #2
    This has been bugging me for years... Still don't have a solution for it. There is an option called "matte for refl/refr", but most of the time it does more harm then good...
    https://www.behance.net/Oliver_Kossatz

    Comment


    • #3
      Matte for refl/refr seems to work fine for this. What are the problems you're having with it?
      Rens Heeren
      Generalist
      WEBSITE - IMDB - LINKEDIN - OSL SHADERS

      Comment


      • #4
        Please take a look at the attached image. If I light the scene with an HDRI, the HDRI somehow gets mapped onto the plane the shadow is cast on. This leaves a visible distortion at the horizon in the reflection. You can clearly see a hard edge there.
        Attached Files
        Last edited by kosso_olli; 10-10-2014, 05:49 AM.
        https://www.behance.net/Oliver_Kossatz

        Comment


        • #5
          Matte for refl in the material properties? This just blacks out the entire reflection of the plane. I don't want to see the plane at all! Just its shadow

          Click image for larger version

Name:	5_Matteforrefl.jpg
Views:	1
Size:	502.8 KB
ID:	854355
          Last edited by breadcrums; 10-10-2014, 09:25 AM.

          Comment


          • #6
            Even Keyshot has this ability. I'm really surprised there isn't a work around in Vray?... I would think literally everyone using hdris in Vray would run into this problem?
            Click image for larger version

Name:	6_KS_noshadow.jpg
Views:	1
Size:	323.7 KB
ID:	854356
            Click image for larger version

Name:	7_KS_Shadow.jpg
Views:	1
Size:	338.0 KB
ID:	854357

            Comment


            • #7
              I am wondering why something so simple is not available in Vray yet, too.
              https://www.behance.net/Oliver_Kossatz

              Comment


              • #8
                What version of vray are you using? I know this has been asked before and there is working solution.
                CGI - Freelancer - Available for work

                www.dariuszmakowski.com - come and look

                Comment


                • #9
                  Latest and greatest- 3.00.08

                  Comment


                  • #10
                    You can get the shadows only with the help of Falloff texture(Light/Shadow mode) applied into opacity slot of the BaseMTL.
                    This however is going to work only with direct lights like sun for example, it won't work for area lights like plane/sphere and etc.

                    Click image for larger version

Name:	uh9qBZB.jpg
Views:	1
Size:	244.8 KB
ID:	854370
                    Scene: http://ftp.chaosgroup.com/support/matte.max
                    Svetlozar Draganov | Senior Manager 3D Support | contact us
                    Chaos & Enscape & Cylindo are now one!

                    Comment


                    • #11
                      oh nice, I played with opacity maps in the base material but couldn't get satisfactory results but I also use hdrls almost exclusively so I was trying with a dome light. The opacity map didn't help until it bled into the shadow itself, otherwise you still saw the plane. its like i need an opacity map that is the baked shadow o.0

                      Comment


                      • #12
                        Originally posted by svetlozar_draganov View Post
                        This however is going to work only with direct lights like sun for example, it won't work for area lights like plane/sphere and etc.
                        Sad to hear that. This feature would be most usefull together with a domelight, for example. Also, how does this work with GI?
                        https://www.behance.net/Oliver_Kossatz

                        Comment


                        • #13
                          A better workaround would be to bake the shadows and use that texture as opacity map instead Falloff texture.
                          The downside here is that you have to update the baked shadow map each time when the light-setup is changed.
                          Svetlozar Draganov | Senior Manager 3D Support | contact us
                          Chaos & Enscape & Cylindo are now one!

                          Comment


                          • #14
                            I might have misunderstood the question, but doesn't the Visible to Reflection/Refraction option in the Object Properties do just that?
                            V-Ray Evangelist, Trainer and Freelancer
                            www.behance.net/rickeloy

                            Comment


                            • #15
                              No, turning off visible in reflections kills the shadow as well. I want JUST the reflection of the shadow not the reflection of the shadow plane.

                              Comment

                              Working...
                              X