You can choose to run Viewport 2.0 using the OpenGL or DirectX rendering engine.
Selecting DirectX as your rendering engine (Method 1)
- Select and set the to .
ImportantTo use the DirectX rendering engine, you must use Windows 64-bit and a DirectX 11 compatible graphics card.
- Select in the panel menus to switch your workspace to Viewport 2.0.
NoteYour workspace heads up display should now indicate Viewport 2.0 (DirectX 11).
- Select and load the dx11Shader.mll plug-in.
Selecting DirectX as your rendering engine (Method 2)
This environment variable overrides the user preference in for both interactive and batch sessions (using the -hw2 option).
- Set MAYA_VP2_DEVICE_OVERRIDE to VirtualDeviceDx11 to always use DirectX 11 when rendering in Viewport 2.0.
TipSet this environment variable to VirtualDeviceGL to always use OpenGL when rendering in Viewport 2.0.
NoteUnset this environment variable to use the user preference again to select your rendering engine.
Creating a DirectX shader
- Select to open the window.
- In the bar, select .
A is created, with AutodeskUberShader.fxo automatically loaded.
- Press 6 for textured mode and 7 to use scene lighting.
TipBoth textured and non-textured modes are supported and all light modes (, , and ) are supported.
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License