Shadow Pass

3D Studio Max Plugin (Export Script Plugins developed by [gk] and KilaD; Integrated Plugin developed by Karba)
Forum rules
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
Post Reply
Rico_uk
Licensed Customer
Posts: 118
Joined: Mon Oct 24, 2011 6:42 pm

Is it possible to access the information rendered in the Shadow Pass for a specific light / light pass ID? For example if I had 2 lights in a scene, one with a light ID of '1' and the other with '2', would I be able to get the Shadow Pass for only one of the lights? I could do this as a separate render and just turn off the other light, but would be cool to get it all in one go. Also if this shadow information was available to the shaders so for example we could render a different texture when an object was in shadow.

And apologies if I've missed this, I've had a look through a few threads but can't find the right info, but what shows up in the Octane Render Viewport looks right with Shadow Pass selected in dropdown, but if I try to add the shadows as a render element it doesn't render (I've tried Shadows, Black Shadows and Coloured Shadows).
User avatar
paride4331
Octane Guru
Posts: 3813
Joined: Fri Sep 18, 2015 7:19 am

Hi Rico_uk,
a workaround could be > same light ID and objects you want in shadow pass, selecting active layer ID in render layer setup.
for example:
Objects group ID 4
light1 ID 1
light 2 ID 2
light 3 ID 3
for shadow pass with light 1 and 2> set Light 1 and 2 > ID 4
Render layer setup > Active layer ID 4

Regards
Paride
2 x Evga Titan X Hybrid / 3 x Evga RTX 2070 super Hybrid
Post Reply

Return to “Autodesk 3Ds Max”