Announcement

Collapse
No announcement yet.

ground geometry that catch shadow and return projected plate color without affected by scene lighting

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

  • ground geometry that catch shadow and return projected plate color without affected by scene lighting

    Hi all,

    I have been trying to achieve this in Vray but couldn't. In Arnold, I can achieve this by assigning an aiShadowMatte shader to a ground geometry. In the aiShadowMatte, specify using "background color" and plug a projected plate image. In a single render, I got a ground that returns projected plate color, which is not affected by scene lighting, and the shadows. (example below) Click image for larger version  Name:	Arnold shadow matte.jpg Views:	2 Size:	131.8 KB ID:	985799


    In Vray, I've tried assigning VrayMtlWrapper to the ground geometry. But as I use a VrayLightMtl with a projected plate as the Base Material, it cannot catch the shadow. And as I turn on Matte Surface (Alpha Contribution -1, Shadows On, Affect Alpah On), the shadow is in the alpha channel but not in RGB. Also, the whole ground is black, which is the environment color. Click image for larger version  Name:	Vray shadow catch 01.jpg Views:	2 Size:	32.2 KB ID:	985800
    Click image for larger version  Name:	Vray shadow catch 02.jpg Views:	2 Size:	38.6 KB ID:	985801


    Will be happy to learn a way, either object property-based or shader-based setup to achieve this in Vray.
    If this is not achievable, please consider this as a feature request. I'll be more than happy to add a thread in the Wishlist subforum.

    To John O, if you came across this thread, I really don't want to bake the lighting. It works, but I can't then change scene lighting without re-bake.


    cheers,
    Jason





    Last edited by jasonhuang1115; 27-02-2018, 07:13 PM.
    always curious...

  • #2
    With the V-Ray Toolbar, creat a Vray_Plane under the box, and use the "make V-Ray shadow catcher"-button from the toolbar while plane is selected. This takes care of evereything, you don't need to do anything else.

    Click image for larger version

Name:	Untitled-1.jpg
Views:	236
Size:	888.2 KB
ID:	985879
    https://www.behance.net/Oliver_Kossatz

    Comment


    • #3
      Hey kosso, how is your Vray_Plane textured in this scenario? Meaning, are you assigning any texture to the Vray_Plane?
      I used a simple plane to explain the issue. But actually, the idea is to have a modeled geometry of a more complex shape with a texture assigned to serve as the shadow catcher while being able to return the texture's original color except for the shadowing effect.
      always curious...

      Comment


      • #4
        The Vray_Plane is not textured at all, it has a plain gray Vray-Material. The shadow catcher gets is texture by the projection of the map in the environment or secondary matte environment slot.
        https://www.behance.net/Oliver_Kossatz

        Comment


        • #5
          Originally posted by kosso_olli View Post
          The Vray_Plane is not textured at all, it has a plain gray Vray-Material. The shadow catcher gets is texture by the projection of the map in the environment or secondary matte environment slot.
          Right, kosso, and that's exactly why I can't get the result I expect. I want the camera rays to return the texture information of the set geometries, not from Vray Plane or any environment slot.
          always curious...

          Comment

          Working...
          X