This was inspired by the falloff network shown in "Advanced Maya Texturing and Lighting".
Lanier, Lee. Advanced Maya Texturing and Lighting. Indianapolis, Indianna: Wiley, 2006.
ISBN-13: 978-0471794042
Please do not redistribute this script.
Please, enjoy it!
Installation instructions:
Place script into your user scripts directory.
Macintosh: /Users/Shared/Alias/maya/scripts
Windows: C:/Documents and Settings/*User*/My Documents/maya/Scripts
Place DLite_Falloff.xpm into your user icons directory.
Macintosh: /Users/Shared/Alias/maya/icons
Windows: C:/Documents and Settings/*User*/My DocumentsmayaIcons
Usage:
Select a directional light and type directionalLightFalloff(); into your command line, or the script editor and press enter. To create a shelf button type createShelfButton(); .
Legalities:
I take no responsibility for any special, indirect or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortious action, arising out of or in connection with the use or performance of this software.
Thanks:
Henry Korol: Code to add shelf button, from HKMagnetTool
Note:
You can also find my other script to add falloff to an ambient light here.
Please use the Feature Requests to give me ideas.
Please use the Support Forum if you have any questions or problems.
Please rate and review in the Review section.