Mental Ray "Object Color" Shader

Hi Guys,

No matter how much time i spend browsing the maxscript language reference, i cant find anything on the Object color shader which is in the material editor is in Maps>mental ray>object color

I really want to be able to assign this map in a script but cant for the life of me figure out how.

Thanks in advance,

Regards

Sam

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
GSSArchitecture's picture

new

Thanks barigazy it worked a treat!!!

barigazy's picture

...

Try something like this

oc = Object_Color ()
showproperties oc

In the listener you will get list of all properties related to this map.
Next you can try:

meditMaterials[1] = Object_Color white:[255,0,0,0] black:[0,255,0,0] 

bga

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.