Share
 
 

Run Viewport 2.0 in OpenGL Core Profile mode

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 Windows, and supports features from both:

  • OpenGL 2.1 and below
  • OpenGL 3.2 and above

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.

Set this environment variable as follows:

  • VirtualDeviceGL to render Viewport 2.0 in OpenGL - Legacy mode
  • VirtualDeviceGLCore to render in OpenGL - Core Profile (Strict) mode
  • VirtualDeviceGLCoreCompat to render in OpenGL - Core Profile (Compatibility) mode.

Was this information helpful?