Announcement

Collapse
No announcement yet.

shadows in alpha via matte object

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

  • shadows in alpha via matte object

    Hi, I am trying to solve an usually easy thing here with Vray for Maya 2.0 on OSX but so far I have not been very lucky.

    The current problem is to render an object sitting on a ground plane casting shadows on the ground via a vray rect light. All I want is to have the ground not appear in the final beauty image but have the shadow in the alpha. In Maya I would do this with the UseBackground shader and I have gotten already so far to use either the single object properties or the material wrapper. Unfortunately that doesn't solve the problem, because with either the ground plane still appears in the alpha or if I set alpha contribution to 0 the shadows are gone as well. I can see that there is actually the shadow present in the alpha when the alpha contribution is between 0 and 1 but as faded as the plane itself because the alpha contribution is not set to 1.

    I have also tried to just use the UseBackground material, which gives me the desired result almost right away. But the problem is here that my object is partly intersecting the ground (the lower part disappears under the floor) and the UseBackground shows the correct shadow but also the part of the geometry that should be hidden underneath the floor. Using the same setup in Maya render the hidden part of the geo still invisible in the alpha.

    I'd really appreciate any help on the subject as this is pretty mandatory for my current scenes here and a positive evaluation of VRay.
    Thanks in advance,

    Ingo
    brave rabbit | Mac Pro 3.5 GHz 6 Core | ATI FirePro D700 | 32 GB RAM | OS X 10.13.3

  • #2
    I just figured out my issue here. Seems that I overlooked a setting in the material wrapper. The alpha contribution should be set to -1 in order to leave just the shadows in the alpha. Now everything's great again
    brave rabbit | Mac Pro 3.5 GHz 6 Core | ATI FirePro D700 | 32 GB RAM | OS X 10.13.3

    Comment

    Working...
    X