Installation¶
MayaShaderLibrary tested on Maya 2017, 2018, and 2019
Download¶
- Download/clone MayaShaderLibrary repository from gitHub.
- If you are not familiar with gitHub, download this zip file
- Copy/Paste or Unzip the contents into your preferred scripts location, or your maya scripts folder.
Maya Install¶
- Add the following environment variable to your Maya.env (this folder is where your shaders and preview files are stored).
- ::
- MAYA_SHADER_LIBRARY = your_install_directorylibrary
Note
Maya.env is usually located under User/My Documents/Maya/2018)
Running the script¶
Create a shelf button with the following python code:
import msl.shader_library as maya_shader_library
maya_shader_library.load()