Maya Vray Mel Script to edit ir and lc path
Hi all, as i'm new to mel script i need help on coding,m working on prerender mel script where i need to give a hard coded path for maya vray irradiancemap and light cache from file path..code below..
setAttr "vraySettings.giOn" 0;
setAttr "vraySettings.giOn" 1;
setAttr "vraySettings.primaryEngine" 0;
setAttr "vraySettings.secondaryEngine" 3;
setAttr "vraySettings.imap_mode" 2;
setAttr "vraySettings.mode" 2;
setAttr "vraySettings.relements_enableall" 1;
setAttr "vraySettings.relements_separateRGBA" 1;
vray("loadFromFileEnd");
Last edited by Sixsteps; 29-07-2016 at 06:36 AM.