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

05 May 2010, 03:09 PM
Hi, currently I'm working on making dslr camera and just stuck on creating camera lens shader.

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.

05 May 2010, 02: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 May 2010, 02: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.