Skip to content

Commit

Permalink
remove the geometry shader optimization env var
Browse files Browse the repository at this point in the history
  • Loading branch information
lilike-adsk committed Dec 9, 2024
1 parent 505b724 commit 69c9fc7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/mayaHydra/mayaPlugin/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,6 @@ PLUGIN_EXPORT MStatus initializePlugin(MObject obj)
// For now this is required for the HdSt backend to use lights.
setEnv("USDIMAGING_ENABLE_SCENE_LIGHTS", "1");

// Performance optimization: disable RENDER_SELECTED_EDGE_FROM_FACE feature that could trigger unnecessary running of gometry shader.
setEnv("HDST_RENDER_SELECTED_EDGE_FROM_FACE", "0");

MFnPlugin plugin(obj, "Autodesk", PLUGIN_VERSION, "Any");

if (!plugin.registerCommand(
Expand Down

0 comments on commit 69c9fc7

Please sign in to comment.