PDA

View Full Version : The secret of creating camera lens shader??


totory123
05-20-2010, 04:09 PM
Hi, currently I'm working on making dslr camera and just stuck on creating camera lens shader.

http://www.gizmograph.com/wp-content/uploads/2008/05/rh_ixus_80is_brown_main.jpghttp://www.faqs.org/photo-dict/photofiles/list/378/743camera_lens.jpg

If you have look at the lens in these pics above, they have this bluish & greenish
reflection(guess the lens is coated and that's where those reflections come from), and that is the effect what I'm trying to achieve.

I've been searching through this forum and found some posts about this but there wasn't any clear way except using a shader called "T2S illumination" .

But as I'm not sure how to install it in maya and also it seems there is no version for maya 64bit which I'm using now.

Is there any possibility to make this effect using mia material, or any mental ray shader??
I played with relfection, refraction color in mia material but result was not that great.

I'd appreciate any help in getting right shader to make this effect.
Thanks.

TheNeverman
05-21-2010, 03:30 PM
I'd use a sampler info node to drive a color ramp (with the blue-green).
The lens geometry should have a bit of curvature to it - not flat.

CGTalk Moderation
05-21-2010, 03:30 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.