Hi I want to create a button for blinn material using MEL. As you can see in the image. Just I want to add only blinn material rest off them I will create it by myself. Thanks
Just that command will create a material without a shading group. You want to create a new shading group and add the material to it. shadingNode -asUtility shadingEngine<br>connectAttr (blinn.outColor) (blinnSG.surfaceShader);<br><div>sets -e -forceElement blinnSG;</div> That's the general idea. You'll need to make the…
here is my script I want to assign that blinn material in my script also as you can see in the image. // delete window if it existsif ( `window -exists jayantsWindow` ) { deleteUI jayantsWindow;} // create a window with a menu bar window -title "3DGhost" -menuBar true -w 220 -h 200 jayantsWindow;// two frame layouts will…