Facing Ratio ramp but from a Light not Camera

Become a member of the CGSociety

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

Thread Tools Display Modes
  07 July 2018
Facing Ratio ramp but from a Light not Camera

I want to do a gradient ramp that uses the direction from one of the lights and not the default camera on Z setup that we all use for custom fresnel gradients.

I want to see the gradient fall off towards the position of the light relative to the object.

I suppose I could use the 3d texture locator parented to the object and then just have it aim constrain to the light.

Just wondering if there is a way to use the sampler info node to make the gradient use an object for ramp direction vs the camera.

AKA KC / Intuition
  07 July 2018
I think that you could use surface luminance node instead of sampler info, connections
are same like with sampler
  07 July 2018
have a look at this

you can do the same in maya
reply 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
Society of Digital Artists

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

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

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