exposure vs depth of field


#1

hey -
im using physical sky and need exposure control…but there is only 1 slot
in camera MR lens shaders section…is there some way i can layer
in or ADD a depth of field node in addition to the exposure control

thanks


#2

Yes:

Open Hypershade:

  1. Place both lens shaders in hypershade view.
  2. Create a mib_color_mix node.
  3. Plug dof lens shader into color0
  4. Plug exposure lens shader into color1
  5. Change mode0 and mode1 to mix
  6. Plug mib_color_mix into lens slot of camera

FG preview will look weird, but it works.

Chris


#3

works great thanks ////


#4

Maya 8.5 (and I guess 8.0 too) supports stacking of lens shaders. You find the input list under cameraShape> mental ray> Lens Shaders, or connect the lens shader’s .message to the cameraShape.miLensShaderList[] attribute.


#5

Very good. Thanks Floze.


#6

man i cant believe i didnt see the stacking — much better…!


#7

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.