Hello. What is the best way to use one material for a group of objects, where each object holds some unique parameter? For example - ColorMaterial. I want to use it for 2 objects. But I don’t want to switch programs, I just want to change shader constant. Is it possible?
Use one material but with different parameters per objectSoftware: Away3D 4.x |
||
|
||
Fabrice Closier, Administrator
Posted: 25 February 2014 03:34 PM Total Posts: 1265 [ # 1 ] Yes you can share a material (if there is no animator involved) and no, if you would want to set same color material and have a different color per object, you need then to have a unique material per object. |
||
|
||
|
||
nikitablack, Newbie
Posted: 26 February 2014 08:04 AM Total Posts: 15 [ # 4 ] actually, it’s bad. Because you need to switch the programs despite the fact that they are the same. |