View Single Post
Old 07-17-2008, 12:55 PM   #4 (permalink)
Cryrid
Senior Artist
Cryrid's Avatar
Cryrid's User Activity: 2/10
116 - 18
Quote:
Too bad I have to manually type the position of the lights, but hey, It's better than nothing!
You can use existing lights in the scene, or other implicit objects such as nulls, and use the positions of those to drive the x/y/z values for the lights in the shader.

1. Lock the property page (ppg) of the Shader's node by clicking the lock
icon on the top right of the ppg.

2. Select your nulls that you want to use to position the lights, and hit alt+enter to open their ppg.

3. Go to the Global Transform Tab

4. Drag and drop the green icons from the null's x/y/z positions over to the
a light's position in the shader node (the icon next to it should change to show that they have been linked). Now when you move the nulls in the scene, it will update the positioning of the light within the shader.

Here's another low-quality video showing the above:
http://cryrid.com/images/temp/XSI/vi...ing_lights.avi
(I'm just translating the null in another viewport in the last few seconds)

Last edited by Cryrid; 07-17-2008 at 08:31 PM.
Cryrid is offline   Reply With Quote