PDA

View Full Version : A Way to Globally Apply Shaders



wildr3d
06-27-2008, 11:30 AM
I'm looking for a plugin or lscript that will apply and remove a shader to all the surfaces of a given object at once. I found something on Flay but it doesn't work past LW8.

Sensei
06-27-2008, 11:38 AM
I don't know of such generic plugin/script.. But such shader would have to be without interface... Because LWSDK doesn't allow modifing shader/node parameters..

wildr3d
06-27-2008, 05:15 PM
I don't know of such generic plugin/script.. But such shader would have to be without interface... Because LWSDK doesn't allow modifing shader/node parameters..

Darn!

Sensei
06-27-2008, 11:06 PM
Do you tried selecting all surfaces on the left side of Surface Editor and then adding shader? Maybe with multiselected surfaces they are all added... I don't remember..

arsad
06-28-2008, 12:22 AM
Well, there was an "add and remove shader" script that existed for FPrime. And even though it was slow it worked!

And adding a shader for more than one surface, by selecting more than one surface doesn't work!
One more incosistency in LW, sometimes you can change values for several selected items or surfaces, sometimes you can't.

Sorry no help here, just trying to clarify stuff.