View Full Version : Creating a material with additional properties

12 December 2010, 06:12 PM
Hey all, I need some assistance in adding specular and glossiness properties via maxscript, but when i add "specularLevel:" and "glosiness:" it comes back with an error in which i have become extremely confused over. Am i even using the correct syntax for these properties. Thanks in advance!

-- Create a white material and assign it to everything.
WhiteMat = standard diffuse:(color 227 108 44) specularLevel:55 glossiness: 22 twosided:true
for obj in objects do obj.material = WhiteMat

12 December 2010, 06:48 PM

I tried to run the script in my editor, It works perfectly well...

Try and run it again...

01 January 2011, 05:57 PM
Worked fine for me as well....

CGTalk Moderation
01 January 2011, 05:57 PM
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.