
|
Here's
for the folks who requested samples of the shadow pass render for compositing.
Special thanks to Raf Anzovin. This is all based on his instructions.
You will need three separate elements to composite for this tutorial. The first is the object rendered with it's alpha channel, or the "color pass". The second is the "shadow pass" renders of the object, which is the topic below. Third is the background image on which the color and shadow pass will be composited over. See the sample images below.
1. Duplicate the object which will cast the shadow,
strip all texture, set color to white 255, 255, 255, falloff 0, ambience
100. In choreography check active and cast shadows, all else unchecked.
2. Set the groundplane which receives the shadow
to: color 255, 255, 255, falloff 0, amb 0. In choreography check
active and receive shadows only.
3. Set background color on camera to 255, 255,
255.
4. Set shadow casting lights to 255, 255, 255,
intensity 100, check on diffuse and shadows only. Set cone
angle to fully illuminate the ground plane with pure white. You may
need several lights in the scene with the same settings to fully bath the
groundplane in pure white. Be careful not to spill into the object's cast
shadow.
5. In the render panel make sure shadows are
turned on, alpha off, and render targas.
6. Import to After Effects the shadow pass images,
the color pass images with alpha and the background images. Create
a new solid of whatever color you want the shadow to be. Layer the
shadow images over the solid. In the solid's transfer controls, select
"Luma inverted Matte" under Trackmat. Under these two layers place
the color pass image sequence with it's alpha. Beneath that layer
place the background images.
7. If you don't want a sharp edged shadow.
Simply add blur to the shadow pass images. Adjust the opacity
of the solid color layer for shadow transparency.
These images are samples from an earlier project:


I hope this was clear enough to follow. Happy compositing.