Skip to content
renderStacks by quasiKrystal

[reP] RenderElementParams

[reP] RenderElementParams – 1 per pass, sub name required, Custom Property, Preset

allow you control almost all parameters of a render element per pass. If a parameter is exposed to Maxscript, you can control it.

Use [RE] RenderElement to turn render elements on and off. Use this pmodifier to change what a render element does.

You choose a render element using the top button. Clicking the button opens a menu of every render element in the scene. One pmodifier controls one render element, so add one instance per element you want to drive.

When the scene holds 6 or more render elements, the menu opens with a search field at the top. Type in the field to narrow the list. The search matches the element name only. It ignores the class name in parentheses. Press the Down arrow or the Up arrow to move the highlight through the matches. Press Enter to choose the highlighted element. Press Enter with no highlight to choose the first match. Clear the field to show every element again.

After you choose a render element, you can add the properties you want to control. The property list hides filterOn on V-Ray render elements. Please check here for the details.

This pmodifier stores the render element by instance, not by name. Two render elements of the same class stay separate. You can point one pmodifier at VRayLightSelect for the key light and another at VRayLightSelect for the fill light.

Warning

Keep in mind, this pmodifier DOESN'T store a backup copy of the render element. The ::base pass holds the original values, so activate ::base to put a render element back the way it was.

Notes

  • On and off is not in the property list. enabled and vrayVFB belong to [RE] RenderElement, so two pmodifiers never fight over them in one pass.
  • elementName is not in the property list. Renaming a render element per pass would break the render element name tokens in your output paths.
  • A dropdown parameter shows as a number. V-Ray exposes these parameters as integers, so mode, type and denoising_engine take the integer that matches the choice you want.
  • A parameter that holds a list of nodes is not supported. VRayLightSelect.lights, VRayLightSelect.layers and MultiMatteElement.redList do not appear in the property list.
  • If you delete the render element, the pmodifier does nothing and the pass still activates.