Run Viewport 2.0 in DirectX 11 mode

You can run Viewport 2.0 using OpenGL, DirectX 11 or OpenGL Core Profile mode.

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

    This environment variable overrides the preference set in the Display preferences (Window > Settings/Preferences > Preferences).

  1. Set MAYA_VP2_DEVICE_OVERRIDE to VirtualDeviceDx11 to always use DirectX 11 when rendering in Viewport 2.0.
  2. Fastpath: Set this environment variable to VirtualDeviceGL to always use OpenGL when rendering in Viewport 2.0.
    Note: Unset this environment variable to use the user preference again to select your rendering engine.

Related topics