The fundamental reason for writing this is because Maxwell has an issue. When rendering a shadow pass, it doesn’t retain directional shadows or any chromatic values from the HDRI environment. You end up with identical “cloud” shadows every time, regardless of HDRI. Shadow render passes are inaccurate.
3D
Create a plane below your objects. This will be the plane that receives the shadows.
Right click it, and adjust the properties accordingly.
This is going to allow it to still be rendered, but be invisible to the reflections that may be on any objects.
If this was left on, in the end you may have objects reflecting a white plane that is no longer visible.
Since your plane needs to remain as neutral as it can to ensure that shadows proper colouration, there needs to be a pure-white material. Ideally this material would be self illuminating except for shadows, but until that is developed, this will suffice.
Next: Render the following passes -
You should end up with a result like this:
Note: Since these shadows integrity is going to come under extreme scrutiny in the following steps, it’s vital that you let this render to extremely high sampling levels.
Next, go back to 3ds Max and hide your shadow plane. Since we only need to render an alpha mask for our objects, go back to your render settings and uncheck all but the following:
This is going to give you a very smooth alpha channel that you can use to mask your specific objects from their corresponding shadow plane.
Now hide all of your objects, and enable only a Color pass from your render channels, and render one last time. This is going to serve as your backplate. The bottommost layer during your composition
After this is done, import all three of your images into a single Photoshop document.
Begin by placing your backplate as the bottom layer, the embedded alpha colour pass as the top layer, and your alpha pass as the alpha channel.
Editing:
Your workspace should look roughly like this before we begin-
It’s not perfect, but it’s at least a better alternative than using the shadow pass solely.