DSLR Lens Shader - Maya MR

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  01 January 2014
DSLR Lens Shader - Maya MR

Does anyone know how to achieve a shader that behaves like the glass from a DSLR lens?
I mean that oily-looking shade that's so typical for lenses.







I did a brief search, but are not finding real answers tho.
This is the only topic I found, but it also doesn't offer a solution :(

http://forums.cgsociety.org/showthread.php?t=759907

Thanks!
__________________
Ferry Passchier [2D/3D Visualizer + Fan Photographer]
Facebook - Twitter - Instagram
^
Most updates here
 
  01 January 2014
I know faked it by using a ramp on the reflection, but I would like to have it react like the real thing, so it should change when you look at it from a different direction.

Any tips?

This is what I have now:

__________________
Ferry Passchier [2D/3D Visualizer + Fan Photographer]
Facebook - Twitter - Instagram
^
Most updates here
 
  01 January 2014
Solved! I fixed it with an expression:

camera_00:polyPlanarProj3rotateX = persp.rotateX * 2;
camera_00:polyPlanarProj3.rotateY = persp.rotateY * 2;
__________________
Ferry Passchier [2D/3D Visualizer + Fan Photographer]
Facebook - Twitter - Instagram
^
Most updates here
 
  01 January 2014
If you are using vray you can checkout the dispersion attribute on the shader.
__________________
Voxels for dinner.
_____________
http://esvfx.wordpress.com/ maya vfx blog
 
  01 January 2014
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 12:53 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.