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.

Method 2

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

  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