You can run Viewport 2.0 using OpenGL, DirectX 11 or OpenGL Core Profile mode.
You have a choice of OpenGL- Core Profile (Compatibility) or OpenGL - Core Profile (Strict).
OpenGL- Core Profile (Compatibility) is only available on the Windows and Linux platforms, and supports features from both:
OpenGL - Core Profile (Strict) supports features from OpenGL 3.2 and above, and is the default on the Mac OS X platform.
See Rendering engine for more information.
To run Viewport 2.0 in core profile mode, select Windows > Settings/Preferences > Preferences to open the Preferences window, and from the Display category, select either OpenGL- Core Profile (Compatibility) or OpenGL - Core Profile (Strict) as the Rendering engine.
If you want to create custom GLSL shaders, you must also load the glslShader plug-in. Select Windows > Settings/Preferences > Plug-in Manager and load glslShader.mll.
You can also set the MAYA_VP2_DEVICE_OVERRIDE environment variable to always run Viewport 2.0 in the mode that you want. When set, this environment variable overrides the user preference. See Rendering environment variables.