Notifications
Clear all

[Closed] Creating a material with additional properties

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

2 Replies

Hi,

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

Try and run it again…

Worked fine for me as well…