Extension Pack Environment Variables


A variety of Extension Pack tools can be controlled via Environment Variables. Below is a list of Environment Variables, Extension Pack will read


Licensing



Extension Pack can be licensed for multiple users using an Environment Variable pointing to a (floating) license file.

A license file can be generated after successful activation via the Licensing Dialog in the Help menu.


  • MARI_EP_LICENSE_FILE_PATH


Internet Connection Time Out



Extension Pack will try to verify your license via a License Server. The Environment Variable below determines the Number of Seconds, before

the Connection times out. By default Extension Pack will wait 4 seconds for a License Server response.

Setting a higher value can help when you have a slow connection, setting a  lower value can reduce Time it takes to load Extension Pack.


  • MARI_EP_CONNECTION_TIMEOUT



TDR Check



Extension Pack on Startup will check your Windows Registry for Settings related to Display Driver Timeouts called 'TDR Value'.

To prevent this TDR Check from happening permanently an Environment Variable can be set to 'True' (alternative: 1) or 'False' (alternative: 0)



  • MARI_EP_PREVENT_TDR_CHECK


Material Template Visibility



Define the visibility of Material Templates by assigning an Environment Variable to 'True' (alternative: 1) or 'False' (alternative: 0)


  • MARI_EP_MATERIAL_TEMPLATE_3DELIGHT
  • MARI_EP_MATERIAL_TEMPLATE_BRDF
  • MARI_EP_MATERIAL_TEMPLATE_PRINCIPLED
  • MARI_EP_MATERIAL_TEMPLATE_VRAY
  • MARI_EP_MATERIAL_TEMPLATE_ARNOLD
  • MARI_EP_MATERIAL_TEMPLATE_PIXARSURFACE
  • MARI_EP_MATERIAL_TEMPLATE_UNREALADVANCED


Project Templates



The Project Template system allows you to save and and reimport projects (default Nodegraphs/Channel Setups, Light rigs etc.)


  • MARI_EP_PROJECT_TEMPLATES


...should point to one or multiple Paths containing Template Folders.

Templates contained in those Folders will be visible to the user in the various Project Template Dialogs;


  • MARI_EP_DEFAULT_PROJECT_TEMPLATE


... should point directly to a specific Template Folder. The Template will be automatically imported when the User creates a new Project.


The default Template does not have to be in a folder defined by the other Environment Variable MARI_EP_PROJECT_TEMPLATES

however it is strongly recommended to place the Template to Import into a Location exposed by this Environment Variable to allow

the user to see the recommended Import Template.


'Add Channels from Node' Presets



Automatically add presets to the Channels From Node Tool by pointing this Env Var to a path containing a preset file


  • MARI_EP_CHANNELS_FROM_NODE


Adding shared Shelf Tabs to the Mask Shelf



Automatically add shelf tabs linking to folders to the Mask Shelf by pointing this Env Var to a path containing shelf presets


  • MARI_EP_SMART_MASK_FOLDER


Substance Automation Toolkit Bridge



The Substance Baker Bridge allows you to utilize the High Speed Baking Architecture of Substance 3d by Adobe ©

from within Mari.


  • SAT_INSTALL_PATH


... should point to the Installation Folder of the Substance Automation Toolkit.


  • MARI_EP_SUBSTANCE_BAKER_PRESET_FOLDER


... can be used to automatically add Pipeline Bake Presets to the Substance Baker Bridge



Environment Map Import to Shelf



Extension Pack automatically creates an Environment shelf, that gets filled with some standard HDRIs such as


    • Mari's Standard HDRIs from its Install directory
    • HDRIs from Folders specified in the Preferences / Paths / Envrionments Tab


Extension Pack automatically adds certain paths from other applications (e.g Substance Painter or Substance Designer) to the

Preferences Path tab, so if you have these applications installed, their HDRIs also get added to the Shelf


There are some Environment Variables to control these behaviors


  • MARI_EP_PREVENT_MARI_HDRI_LOADING


... if 'True' or '1' Extension Pack will not automatically add Mari's own HDRI's to the Shelf


  • MARI_EP_PREVENT_3RDPARTY_HDRIS


... if 'True' or '1' Extension Pack will not automatically add 3rd Party HDRI paths to the Preferences / Paths / Envrionments Tab