1/12/12

Render pass-compositing

Better rendering needs better compositing. All the passes should be properly arranged, corrected and blended in your favorite compositing software.

  • Open your favorite compositing software here After effects. Import all the layers.
  • Drag the diffuse layer to the time line.It will create a comp according to the size of the image.
  • Drag all the layers in the order
  • Reflection Diffuse  Shadow Specular Occlusion Depth (In normal case reflection will be top of the diffuse.Here the reflection is at the bottom)

Now change the layer mode of following layers to
Reflection= normal
Shadow=Normal
Specular=screen
Occlusion=multiply
Turn off the visibility of depth layer.

Now create a white solid at the bottom.( you can change the color as you wish).
imageNow we need to blur the shadows. Select the shadow layer and go to effects and get directional blur. Direction 0x 15      blurriness = 19
Change the opacity of shadow layer to 55%   (press T on the layer).
image
Now select the reflection layer and add a Gaussian blur to it. Blurriness = 5
You can reduce the opacity of occlusion if you need.
Now select the adjustment layer and do effects> blur and sharpen>lens blur.
Select the depth.tga in depth layer,depth map channel to luminance,Iris radius to 8.0
image
The reflection layer wont blur accordingly because it hasn’t the depth information.You can cheat it with another blur.
diffuse (0-00-00-00)
Hope you have learned something new.

No comments: