ScriptSpot

Forum topic · General Scripting

linking Material editor parms to light map slots

By brownpaperbag · 2015-09-10

Description

Hi All,
I am trying to get a handle on vray lights texture slot and the material editor vray material / vray hdri map. The common work flow in max seems to be create a vray material add a vray map to the dif slot, pick a hdr map to use > drag the map to a new slot as a copy then drag that map to the texture map parm on the dome light as a instance.

It all seems like a lot of hard work just to look up a texture map for light and keep control of the vray hdri map ie I might want to shift the map via controls in the material editor.

What can I look at to script this, would love to get some sage advice

r

Comments (1)

`

pixamoon · 2015-09-12

hmm,

I think you can simply:
1. press button "None" in VrayLight UI
2. choose VRayHDRI
3. then drag and drop it to MatEditor as instance...

Is this what you mean?