Installation

MayaShaderLibrary Minimum Version Required: Maya +2022 / Python +3.6

Download

Maya Install

  • Copy/Paste or Unzip the contents into your preferred scripts location, or your maya scripts folder.

Define Library Folder

  • Add the following environment variable to your Maya.env

  • This will be the folder where your shaders and preview files are stored.

MAYA_SHADER_LIBRARY = your_install_directory\library

Note

Maya.env is usually located under “User/My Documents/Maya/2022”

Note

If you do not set this environment variable, the default location will be used, which is the “library” folder inside the MayaShaderLibrary folder.

Running the script

Create a shelf button with the following python code:

import msl
msl.run()