This is a very niche situation for sure, and easy to avoid with a different setup, but would be nice if it worked.
Have a need to switch some objects from matte to normal mode and back many times in a reusable scene with automation. Figured an easy way is to use VraySwitchMtl, and manipulate the switch with a parameter value via script. Turns out when connected to VraySwitchMtl a Matte surface will cast shadows on other matte surfaces, which doesn’t otherwise happen and is undesirable.
Simple example scene: 2 background objects - VrayPlane and cyllinder, hero- red ball.
No matte materials for reference first:
Matte material applied directly to background objects. Everything renders as expected. Shadows cast from hero to Matte object, and Matte to hero only:
Matte material applied via VraySwitchMtl. All possible shadows are rendered ignoring the matte settings:
here's the background objects' material set up for clarity:
Any insight into whether this is expected, or bugs, or I have something wrong in my setup would be much appreciated. Thanks!
Have a need to switch some objects from matte to normal mode and back many times in a reusable scene with automation. Figured an easy way is to use VraySwitchMtl, and manipulate the switch with a parameter value via script. Turns out when connected to VraySwitchMtl a Matte surface will cast shadows on other matte surfaces, which doesn’t otherwise happen and is undesirable.
Simple example scene: 2 background objects - VrayPlane and cyllinder, hero- red ball.
No matte materials for reference first:
Matte material applied directly to background objects. Everything renders as expected. Shadows cast from hero to Matte object, and Matte to hero only:
Matte material applied via VraySwitchMtl. All possible shadows are rendered ignoring the matte settings:
here's the background objects' material set up for clarity:
Any insight into whether this is expected, or bugs, or I have something wrong in my setup would be much appreciated. Thanks!
Comment