PDA

View Full Version : exposure vs depth of field


republicavfx
06-24-2007, 07:59 PM
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

chriswaner
06-24-2007, 09:27 PM
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

republicavfx
06-24-2007, 09:58 PM
works great thanks ////

floze
06-25-2007, 10:42 AM
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.

chriswaner
06-25-2007, 12:35 PM
Very good. Thanks Floze.

republicavfx
06-25-2007, 05:13 PM
man i cant believe i didnt see the stacking --- much better...!

CGTalk Moderation
06-25-2007, 05:13 PM
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.