View Full Version : Connect multiple lights to dielectric shader?
04-07-2004, 06:07 PM
Hi, I hope this isn't obvious...but I can't make it work...
I would like to input more than one light to the dielectric shader in my scene. It won't let me, though. Every time I connect one, it disconnects another.
Can this be done, or is there a better shader to be using to simulate caustics and color-density type stuff?
thanks a ton:beer:
04-07-2004, 10:30 PM
You can do this through MEL
connectAttr -f spotLightShape1.message dielectric_material1.lights;
connectAttr -f spotLightShape2.message dielectric_material1.lights;
connectAttr -f spotLightShape3.message dielectric_material1.lights;
So on and so forth.
04-07-2004, 10:50 PM
great, thanks a bunch...
I'm not too familiar with mel...I didn't realize that you could change those bracketed numbers. (when I make the connection to lights in the connection editor, about 50 or so "lights" appear in the list. But it would never let me connect a light to any of them.)
04-07-2004, 11:22 PM
To make life a whole lot easier when working with MR shaders. There's a script that adds a light linking box to the Attribute Editor for the most common MR shaders.
It's really nice!
04-08-2004, 01:33 AM
hey thanks for the link:beer:
p.s. I really like your tutorials. They've been really helpful to me, I appreciate the effort you've gone to and I can't wait to see the other ones when you finish them.:D
04-08-2004, 02:04 AM
At the moment I'm trying to come up with a way better format for my site. Something more fancy and professional. The only thing is I don't really want to spend anymore money for things like Flash or a web design application.
I'm trying try to come up with something cool using only:
And a text editor for html!
Hehe, I think I'll get there eventually.
01-18-2006, 12:00 AM
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.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.