FORUMS: list search recent posts

intensity of the light based on its distance from mesh

COW Forums : Autodesk Maya

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Jovan Strel
intensity of the light based on its distance from mesh
on Feb 1, 2014 at 10:14:09 pm

hi,
i need help with controlling the intensity of the light based on its distance from points of the mesh

what i need is a way to tell a light to look for the closest point on the mesh and depending from the distance, intensity of the light is controlled.

does anyone have a suggestion? much much thanks

i have done some test, but the only i could get to work is calculating the distance between two objects, but what i need the distance between closest point on mesh and light

any help, tip, you would be a lifesaver


Return to posts index

Steve Sayer
Re: intensity of the light based on its distance from mesh
on Feb 5, 2014 at 5:00:34 pm

There is a 'closestPointOnMesh' node that should be exactly what you need.

http://download.autodesk.com/global/docs/maya2014/en_us/Nodes/closestPointO...


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]