You can run Viewport 2.0 using OpenGL, DirectX 11 or OpenGL Core Profile mode.
Method 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.
- 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).
- Set MAYA_VP2_DEVICE_OVERRIDE to VirtualDeviceDx11 to always use DirectX 11 when rendering in Viewport 2.0.
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.