View Full Version : Mia_Exposure_Photographic - Simple Question
11-29-2009, 04:16 PM
Okay, so I've setup my sun and sky, then deleted the mia_exposure_simple and replaced it with a mia_exposure_photographic. My render looks fantastic, but theres a slight problem. Even the image plane thats connected to the camera is effected by the lense shader. Now, its quite difficult to colour match the geometry to the image plane.
Is there anyway that I can have the lense shader only effect the 3D geometry, but not my image plane, instead of flipping to another frame buffer which already has the background image loaded ?
Thanks in advance.
11-30-2009, 05:50 AM
It is annoying and you can't actually tell the lens shader (or image plane) to ignore it, but you can set the image plane to 'texture' mode instead of 'image file', and that way you can use the gammaCorrect node as you would with your textures to de-gamma the image plane. Of course.. that means the image plane will look wrong in your viewports. A way around *that* is to use the 'pre render MEL' and 'post render MEL' features in the Render Settings to change the gammaCorrect's values for you.
As in 'pre render MEL' sets the gammaCorrect to 0.454 and then the 'post render MEL' sets it back to 1.0.
12-02-2009, 07:35 PM
Long time no see, and thanks for the reply.
I did try the file -> gamma -> image plane, but it didn't seem to work as I think the shader does more than just change the gamma. The iso, shutter speed, cm2 sturation all play a part in the final outcome of the image.
Oh well, back to the drawing board.
12-02-2009, 07:44 PM
the way i got around this problem was to put the image plane on its own render layer, with no lens shader applied on that layer. put this layer underneath your beauty layer in the stacking order. then under the render layer options, choose "render all layers" so that your tonemapped image is composited on top of your original image plane with the colors intact.
12-08-2009, 08:44 PM
Thanks for the tip.
Will give it a try.
12-08-2009, 08:44 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.
vBulletin v3.0.5, Copyright ©2000-2014, Jelsoft Enterprises Ltd.