Run Viewport 2.0 in DirectX 11 mode

You can run Viewport 2.0 using OpenGL, DirectX 11 or OpenGL Core Profile mode. There are two ways to set DirectX as your rendering engine.

Method 1

  1. In the Preferences window (Window > Settings/Preferences > Preferences), select the Display category. Set the Rendering engine to DirectX 11.
    Important: To use the DirectX rendering engine, you must use Windows 64-bit and a DirectX 11 compatible graphics card.
  2. Select Window > Settings/Preferences > Plug-in Manager and load the dx11Shader.mll plug-in.
Tip: When the dx11Shader.mll is loaded, you can also select Shading > OpenGL Core Profile from the panel menus.

Method 2

    Set the MAYA_VP2_DEVICE_OVERRIDE environment variable to VirtualDeviceDx11 to always run Viewport 2.0 in DirectX 11 mode. See Rendering environment variables.

    This environment variable overrides the preference set in the Display preferences (Window > Settings/Preferences > Preferences) for both interactive and batch sessions (using the -hw2 option).

    Note: Unset this environment variable to use the user preference again to select your rendering engine.

Related topics